Open mehdideveloper opened 8 years ago
Hi Mehdi,
If the spectrum works then ncat
works at least.
Now I would need a line from the console output, the command that OpenWebRX starts when a new client attaches (includes fir_decimate_cc
, etc.)
Hi Unfortunately, I can't find "fir_decimate_cc", neither in Web Developer Console, nor in the Terminal output! The only log that I see when a client is attached:
[openwebrx-httpd] client 127.0.0.1#c463f561225cc7631b4fb10f6e599477 :: client added. Clients now: 1 127.0.0.1 - - [03/Aug/2016 11:42:08] "GET /openwebrx.css HTTP/1.1" 200 - 127.0.0.1 - - [03/Aug/2016 11:42:08] "GET /openwebrx.js HTTP/1.1" 200 - 127.0.0.1 - - [03/Aug/2016 11:42:08] "GET /sdr.js HTTP/1.1" 200 - ........
I'm looking for something like this:
[openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr convert_u8_f | csdr shift_addition_cc --fifo /tmp/openwebrx_pipe_3059136684_shift | csdr fir_decimate_cc 22 0.0068178 HAMMING | csdr bandpass_fir_fft_cc --fifo /tmp/openwebrx_pipe_3059136684_bpf 0.0281615770483 HAMMING | csdr squelch_and_smeter_cc --fifo /tmp/openwebrx_pipe_3059136684_squelch --outfifo /tmp/openwebrx_pipe_3059136684_smeter 5 1 | csdr fmdemod_quadri_cf | csdr limit_ff | csdr fractional_decimator_ff 1.03065759637 | csdr deemphasis_nfm_ff 11025 | csdr fastagc_ff 1024 | csdr convert_f_s16 | csdr encode_ima_adpcm_i16_u8
If this is stuck somewhere, you will get no audio.
(There is a separate command for the waterfall and the audio, you will see both in the output.)
Well the only similar thing that I have in the log is this:
[openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr convert_u8_f | csdr fft_cc 4096 200000 | csdr logpower_cf -70 | csdr fft_exchange_sides_ff 4096 | csdr compress_fft_adpcm_f_u8 4096
There is no other line that starts with "[openwebrx-dsp-plugin:csdr]"
Strange. Then the processes to generate audio from the I/Q data do not even get opened.
In addition, dsp.stop()
should be called when the client disconnects.
Could you share the whole console output with me? If you do not want to paste it here, you can send it to my e-mail address, which can be found on my GitHub profile.
Thanks. I emailed you the whole log
Hi Mehdi,
Thank you for the log! It seems like dsp.start()
is not executed at all... Unfortunately, I don't think I can debug this without a Mac.
Hey Simonyi It has passed a while and I haven't been able to solve this issue. Could you please check this once again? (maybe this time you can find or think of some hints)
Any ideas? Thanks
Hi I'm trying to run the latest openwebrx with RTL-SDR and I've no errors and I can see the spectrum, but no audio! The only audio-related log in Chrome's developer tools is this:
Also here's the first lines of log when I run openwebrx:
I've tried changing "audio_compression" to "none" and also bigger values for "client_audio_buffer_size" without success!
When I close my browser, these errors are shown in the terminal:
My system info: OS X 10.11.6 Chrome 52.0.2743.82
Any ideas?