-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demodulator as a standalone executable #23
Comments
All decoders in E.g.
Perhaps I could extract the FM-demodulor, however you can also use csdr for FM-demodulation (this should work for all decoders that need FM-data):
|
Probably iq_server could also FM-demodulate at a given frequency and send it to the client, but then it wouldn't be "iq_server"... For FM-demodulation the server would also need lowpass filter parameters. |
yesyes, that's exactly what I'm currently doing with the csdr and the idea to get rid of it. I don't use internal decoders demodulators because it is less flexible as a solution with an external one. I could do additional DSP using sox for example and choose proper bandpass filter for a specific type of sonde. And I wouldn't implement demodulation on the server side as it would make the solution also less flexible. |
I can check, how a simple standalone FM-demod (and lowpass in front) performs. |
do you mean a bandpass filter? Because if I want to demodulate an SSB then I would want to specify different values for left and right |
It is symmetric with respect to 0 Hz. It was not meant to be a general purpose dsp library, sorry. |
output to stdout.
|
hmm, I can't seem get it to work. First of all something is wrong with the wav header if I add --wav This produces clear sonde sound:
and this produces only noise:
/tmp/iqsamples.bin is recorded with the 'iq_client --freq ...' |
What are the parameters of iqsamples.bin? If you try wav-output, e.g. remark: EDIT: |
ah, ok, right, now it works, thanks. I can't test it with the decoder and compare it with the csdr solution right now because there are no sondes currently flying and recorded signal in my iqsamples.bin is too weak. I'll let you know |
If you have 48e3*0.065=3.12e3, i.e. -3.12kHz .. 3.12kHz bandwidth filter for csdr, better use --lpbw 6.0, i.e. 6kHz. The lp-bandwidth 6kHz is meant to be -3kHz .. +3kHz. The filter is not very steep, but 3kHz bw is maybe a bit narrow. EDIT: |
Now I understand.
Actually dft_detect is doing FM-demodulation for a very similar reason, it's easier to detect/identify different radiosonde types in FM-data than in IQ-data. |
It would be nice to have a FM demodulator as a standalone application. If I do
it makes no sense for all decoders I start in parallel to demodulate the signal first. And without demodulator it is not possible to get audible signal
Input parameters for the demodulator could be at least bandpass filter paramters (e.g -0.5;0.5). Bandpass filter comes before the quadrature demodulator
The text was updated successfully, but these errors were encountered: