From b9b0b1ff957d72407cd2b6a28a18c34a3038b159 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 25 Dec 2014 16:17:29 +0100 Subject: Update example.ini with s8 format --- doc/example.ini | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/example.ini b/doc/example.ini index e1ce252..ada7a03 100644 --- a/doc/example.ini +++ b/doc/example.ini @@ -90,11 +90,22 @@ filtertapsfile=simple_taps.txt output=uhd [fileoutput] -; The file output writes I/Q float values (i.e. complex float) +; Two output formats are supported: In the default mode, +; the file output writes I/Q float values (i.e. complex float) ; to the file. The I and Q samples can take values up to ; 100000 in absolute magnitude with gainmode FIX. ; With gainmode VAR, they should never exceed 50000. ; With gainmode MAX, thet are limited to 32767. +;format=complexf +; +; When the format is set to s8, the output writes I/Q 8-bit +; signed integers, where the magnitude is multiplied by 128/50000 +; effectively mapping the gainmode VAR range of -50000 -- 50000 +; to -128 -- 128. For other gainmodes, use the digital_gain setting +; to make sure you don't create clipping. +;format=s8 + +; The output file: filename=/dev/stdout [uhdoutput] -- cgit v1.2.3