Hi, you can find in attach AM demodulator grc file. Everything is
forward with demod but audio file generated looks weird. Only positive
values of amplitude. In FFT i do see symmetric picture. I
DC offset option in osmosdr block, but it did not help.
Originally file is generated as raw audio and after processed with sox
raw -r 16k -b 16 -e signed-integer). I have also tried to use wav sink
block - the same result.
But when we have only positive values that means in fact we have 0.5 DC
offset, and that is bad. Moreover i’ve made test recording with GQRX -
waveform is fine! Looking into the code, nothing special, am
On Fri, Apr 25, 2014 at 05:25:54PM +0400, Anton K. wrote:
But when we have only positive values that means in fact we have 0.5
DC offset, and that is bad. Moreover i’ve made test recording with
GQRX - waveform is fine! Looking into the code, nothing special, am
Actually I’m a little confused - Is seeing an AGC in an AM demodulator
something you usually do?
Especially the feedforward AGC should be rather err jumpy with a scope
of but 256 samples, unless I’m missing something; f_sample seems to be
1024ksps, thus 256 samples max search and rescaling should behave very
badly if there are baseband signal contents below 4kHz – and that
should be the case for audio, usually?
Marcus, w/o AGC audio sometimes is creapy. I have tested AGC2, tried to
play with attack and decay, but at last when there is a plane in the
vicinity dongle overloads and sound become very loud. Then i tested FAGC
and it fits well! 1024M/64 gives 16k and 256 samples equals - 62 ms of
signal. Works ok for me.
When I looked into the attached graphical flowgraph in the first email,
signal was multiplied by zero (constant multiplier) before feeding into
file sink and audio sink. In this case what you get was probably
Was it zero or something else?