From 9ea7df6030842be17a8ea52e7e659871b33a49bf Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 11 Dec 2016 16:03:28 +0100 Subject: Make gainmode VAR the default and update config to accept gainmode identifiers --- doc/example.ini | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/example.ini b/doc/example.ini index 259ee4a..6a4b0f4 100644 --- a/doc/example.ini +++ b/doc/example.ini @@ -64,25 +64,23 @@ loop=0 ;source=localhost:9200 [modulator] -; Gain mode: 0=FIX, 1=MAX, 2=VAR -; -; Mode 0 (FIX) uses a fixed factor and is really not recommended. It is more +; Mode 'fix' uses a fixed factor and is really not recommended. It is more ; useful on an academic perspective for people trying to understand the DAB ; modulation. ; -; Mode 1 (MAX) is the normalization of every OFDM symbol. No overshoot, no +; Mode 'max' is the normalization of every OFDM symbol. No overshoot, no ; truncating, but varying output power (around 3dB) which might not be the best ; for some power amplifier. The output samples are limited to a magnitude ; of 32768. ; -; Mode 2 (VAR) uses the method specified in ETSI 300 798. This method +; Mode 'var' uses the method specified in ETSI 300 798. This method ; normalizes to 4 times the standard deviation for an approximation of the RMS ; power. So around 6/100000 samples will be truncated and will introduce some ; really minor distortion. But this mode also maximizes the output power. This ; is the gain mode recommended for real world operation as it is based on a DAB ; standard; the only difference is that ODR-DabMod uses a better resolution ; with 16 bits instead of 8 bits. -gainmode=2 +gainmode=var ; Transmission mode ; If not defined, take the mode from ETI -- cgit v1.2.3