windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
406 stars 38 forks source link

No RDS text #53

Closed rajil closed 6 years ago

rajil commented 7 years ago

I dont get any RDS text. Is there anything i am missing?

$ rtl_fm -f 95.7e6 -M wbfm -s 200000 -r 48000 - |./redsea -u --feed-through|aplay  -f S16_LE -r48000 
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 96016000 Hz.
Oversampling input by: 6x.
Oversampling output by: 1x.
Buffer size: 6.83ms
Sampling at 1200000 S/s.
Output at 200000 Hz.
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

I also tried without the -u option, and the result was the same.

The following does give some text:

$ rtl_fm -M fm -l 0 -A std -p 0 -s 171k -g 40 -F 9 -f 95.7e6 |./redsea 
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
\Found Rafael Micro R820T tuner
Tuner gain set to 40.20 dB.
Tuned to 96042000 Hz.
Oversampling input by: 8x.
Oversampling output by: 1x.
Buffer size: 5.99ms
Exact sample rate is: 1368000.013046 Hz
Sampling at 1368000 S/s.
Output at 171000 Hz.
{"pi":"0x2B25"}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"group":"2A","pi":"0x2B25","prog_type":"Culture","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ps":" on 95.7","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x2B25","prog_type":"Culture","ta":false,"tp":false}
^CSignal caught, exiting!

User cancel, exiting...
Signal caught, exiting!

How do i get RDS with wbfm?

andimik commented 7 years ago

I could not find any station with this PI Code.

What about other frequencies?

rajil commented 7 years ago

Here is another one

$ rtl_fm -M fm -l 0 -A std -p 0 -s 171k -g 40 -F 9 -f 97.9e6  |./redsea -u
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 40.20 dB.
Tuned to 98242000 Hz.
Oversampling input by: 8x.
Oversampling output by: 1x.
Buffer size: 5.99ms
Exact sample rate is: 1368000.013046 Hz
Sampling at 1368000 S/s.
Output at 171000 Hz.
{"pi":"0x1511"}
{"pi":"0x1511"}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"debug":["TODO 8A"],"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"debug":["TODO 8A"],"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"pi":"0x1511"}
{"debug":["TODO 8A"],"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"pi":"0x1511"}
{"debug":["TODO 8A"],"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"debug":["TODO 8A"],"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"3A","open_data_app":{"app_name":"RDS-TMC: ALERT-C","oda_group":"8A"},"pi":"0x1511","prog_type":"Top 40","tmc":{"system_info":{"is_encrypted":true,"is_on_alt_freqs":false,"scope":["urban"]}},"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"JONJON  ","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"JONJON  ","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"3A","open_data_app":{"app_name":"RDS-TMC: ALERT-C","oda_group":"8A"},"pi":"0x1511","prog_type":"Top 40","tmc":{"system_info":{"gap":3,"service_id":7}},"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"2DAY 281","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"2DAY 281","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"2DAY 281","ta":false,"tp":false}
{"pi":"0x1511"}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"3A","open_data_app":{"app_name":"RDS-TMC: ALERT-C","oda_group":"8A"},"pi":"0x1511","prog_type":"Top 40","tmc":{"system_info":{"is_encrypted":true,"is_on_alt_freqs":false,"scope":["urban"]}},"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"2DAY 289","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"2DAY 281","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"pi":"0x1511"}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"pi":"0x1511"}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tmc":{"system_info":{"encryption_id":2,"location_table":12,"service_id":7}},"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tmc":{"system_info":{"encryption_id":2,"location_table":12,"service_id":7}},"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"debug":["TODO: Unimplemented ODA app 50096"],"group":"3A","open_data_app":{"app_name":"iTunes Tagging","message":40981,"oda_group":"11A"},"pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x1511","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x1511","prog_type":"Top 40","ps":"-760-   ","ta":false,"tp":false}
{"group":"8A","pi":"0x1511","prog_type":"Top 40","tp":false}

and another one

$ rtl_fm -M fm -l 0 -A std -p 0 -s 171k -g 40 -F 9 -f 104.10e6  |./redsea -u
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 40.20 dB.
Tuned to 104442000 Hz.
Oversampling input by: 8x.
Oversampling output by: 1x.
Buffer size: 5.99ms
Exact sample rate is: 1368000.013046 Hz
Sampling at 1368000 S/s.
Output at 171000 Hz.
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" 104.1  ","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" 104.1  ","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" 104.1  ","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"artificial_head":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"di":{"compressed":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"di":{"dynamic_pty":true},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ps":" KRBE","ta":false,"tp":false}
{"di":{"stereo":false},"group":"0A","is_music":true,"pi":"0x3D02","prog_type":"Top 40","ta":false,"tp":false}
{"group":"2A","pi":"0x3D02","prog_type":"Top 40","tp":false}

However, nothing with this,

$ rtl_fm -M wbfm -l 0 -A std -p 0 -s 171k -g 40 -F 9 -f 97.9e6  |./redsea -u

Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 40.20 dB.
Tuned to 98258000 Hz.
Oversampling input by: 8x.
Oversampling output by: 1x.
Buffer size: 5.99ms
Exact sample rate is: 1368000.013046 Hz
Sampling at 1368000 S/s.
Output at 171000 Hz

Is it possible to get RDS with wbfm?

windytan commented 7 years ago

Hi, I believe the wbfm demodulator removes the RDS subcarrier. This is why the fm demodulator should be used instead. The wbfm demodulator applies a deemphasis filter and may even change the sampling rates.

If you want deemphasis, this can be achieved using -E deemp. But there is a possibility that it attenuates the RDS subcarrier.

windytan commented 7 years ago

Is there a specific reason why you would need the wbfm demodulator? If you want FM stereo or de-emphasis, I've written a simple (yet not very user friendly) tool for that purpose: stereodemux.

rajil commented 7 years ago

On 11/13/2017 04:53 PM, Oona Räisänen wrote:

Is there a specific reason why you would need the wbfm demodulator? If you want FM stereo or de-emphasis, I've written a simple (yet not very user friendly) tool for that purpose: stereodemux https://github.com/windytan/stereodemux.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/windytan/redsea/issues/53#issuecomment-344086796, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXJgtpoOKC2MkxaDLN1Ie01UJKe7xC9ks5s2Mh3gaJpZM4Qar_T.

I was trying to capture broadcast FM using softFM (https://github.com/jorisvr/SoftFM), and feed it into icecast. If the RDS text could be made available that would make the icecast stream more powerful.

windytan commented 6 years ago

SoftFM decodes stereo by default. But redsea requires an undecoded mono multiplex. So you would have to pass -M or --mono to SoftFM to make it work.

I've added a mention in the wiki about this requirement, so closing this for now.