fm_transmitter icon indicating copy to clipboard operation
fm_transmitter copied to clipboard

Transmitting randomly stops

Open Mifaxav opened this issue 2 years ago • 7 comments

I'm on a raspberry Pi 4 with a wire at gpio 4

After about 4 seconds of the guitar duet, it randomly stops transmitting. I've tried the same with another similar software and also facing the same issues. Any idea on how to fix this?

Mifaxav avatar Jul 14 '22 15:07 Mifaxav

Please keep in mind this software makes use of some RPi hardware, which may be also used by other currently working applications. More specific: GPIO, DMA and PWM hardware are being used. Please veryfiy if no other software is using their resources, ie. PWM is used for audio playback when jack output is selected. Also there are about 15 DMA channels available, try using different one than default (-d option).

Check if 1-wire interface is disabled, as it was reported interferring with fm_transmitter.

Please reffer which system are you using (Raspbian/Arch/Ubuntu, Lite version or normal etc.)

markondej avatar Jul 15 '22 08:07 markondej

Previously was using raspbian now using lite(raspbian) planning to shift back to raspbian. No other software is on unless automatic. What i do is, boot up my raspi, open terminal, cd fm_transmitter/src, sudo ./fm_transmitter -audio xyz.wav -freq 99.9

I don't see what should be causing the problem here :/

On Fri, 15 Jul, 2022, 2:27 pm Marcin Kondej, @.***> wrote:

Please keep in mind this software makes use of some RPi hardware, which may be also used by other currently working applications. More specific GPIO, DMA and PWM hardware are being used. Please veryfiy if no other software is using their resources, ie. PWM is used for audio playback when jack output is selected. Also there are about 15 DMA channels available, try using different one than default (-d option).

Check if 1-wire interface is disabled, as it was reported interferring with fm_transmitter.

Please reffer which system are you using (Raspbian/Arch/Ubuntu, Lite version or normal etc.)

— Reply to this email directly, view it on GitHub https://github.com/markondej/fm_transmitter/issues/172#issuecomment-1185332576, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUD6MXZXEKUQCLNLMDS4WZLVUERYLANCNFSM53SV4B2A . You are receiving this because you authored the thread.Message ID: @.***>

Mifaxav avatar Jul 15 '22 11:07 Mifaxav

Try disabling ARM auto frequency switching by:

echo "powersave"| sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Notice: this will reduce overall RPi 4 CPU performance (until next reboot)

markondej avatar Jul 15 '22 11:07 markondej

Will try that

On Fri, 15 Jul, 2022, 4:35 pm Marcin Kondej, @.***> wrote:

Try disabling ARM auto frequency switching by:

echo "powersave"| sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Notice: this will reduce overall RPi 4 CPU performance (until next reboot)

— Reply to this email directly, view it on GitHub https://github.com/markondej/fm_transmitter/issues/172#issuecomment-1185436037, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUD6MX6J7EYGMTSGCX6EMV3VUFAWPANCNFSM53SV4B2A . You are receiving this because you authored the thread.Message ID: @.***>

Mifaxav avatar Jul 15 '22 11:07 Mifaxav

try changing your bandwidth to 50000 it worked for me or just tweak your bandwidth

sudo ./fm_transmitter -f 99.9 snakejazzremix.wav -b 50000

ppoojohn avatar Sep 24 '22 06:09 ppoojohn

I installed RPITX! On Sat, 24 Sep, 2022, 11:55 am ppoojohn, @.***> wrote:

try changing your bandwidth to 50000 it worked for me

sudo ./fm_transmitter -f 99.9 snakejazzremix.wav -b 50000

— Reply to this email directly, view it on GitHub https://github.com/markondej/fm_transmitter/issues/172#issuecomment-1256878702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUD6MXYZ6UIMQHB33ZEYXGDV72NFJANCNFSM53SV4B2A . You are receiving this because you authored the thread.Message ID: @.***>

Mifaxav avatar Sep 24 '22 06:09 Mifaxav

Do you mean to say that you fixed it with that? Because I have a similar problem.

Did the GPIO21=1 once and started working perfectly. But only worked once. Never worked again with any frequency despite a few reboots and a reinstall.

La-Cabra avatar Mar 05 '23 02:03 La-Cabra