miegl / PiFmAdv

Advanced Raspberry Pi FM transmitter with RDS encoding
GNU General Public License v3.0
484 stars 82 forks source link

PiFMAdv playing too slow and sine tone in background #91

Closed ryanginn closed 2 years ago

ryanginn commented 2 years ago

Hi, Code I'm using is: sudo sox -t mp3 https://oneradio.cf/radio/8000/radio.mp3 -t wav - | sudo ./pi_fm_adv --freq 92.4 --ps ONERadio -rt 'All your favorite hits in one place! Listen Live: oneradio.cf' --ppm 1000000 --pty 9 --audio -

ryanginn commented 2 years ago

@miegl Any idea on what's wrong?

miegl commented 2 years ago

Possibly fixed in https://github.com/miegl/PiFmAdv/commit/9f4cbc32d9361527d3d5f40c18a9f1b8150dcfa2

ryanginnelly252 commented 2 years ago

Hi, the sine tone is gone, but it still plays slow

miegl commented 2 years ago

Try getting rid of your --ppm setting. If that doesn't work, consider recording a sample of the output you are hearing. Thanks.

ryanginnelly252 commented 2 years ago

Tried that. I'll send a recording below https://voca.ro/1g6in4DMF016

ryanginnelly252 commented 2 years ago

Hi, Code I'm using is: sudo sox -t mp3 https://oneradio.cf/radio/8000/radio.mp3 -t wav - | sudo ./pi_fm_adv --freq 92.4 --ps ONERadio -rt 'All your favorite hits in one place! Listen Live: oneradio.cf' --ppm 1000000 --pty 9 --audio -

Just a heads up - I am just doing sudo ./pi_fm_rds --freq 92.4 --audio sound.wav

ryanginnelly252 commented 2 years ago

Any update? @miegl

miegl commented 2 years ago

The projects binary should be named pi_fm_adv. Try running your Pi headless and experiment with --pll a and --pll c.