Skip to content
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

Transmitting randomly stops #172

Open
Mifaxav opened this issue Jul 14, 2022 · 7 comments
Open

Transmitting randomly stops #172

Mifaxav opened this issue Jul 14, 2022 · 7 comments

Comments

@Mifaxav
Copy link

Mifaxav commented Jul 14, 2022

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?

@markondej
Copy link
Owner

markondej commented Jul 15, 2022

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.)

@Mifaxav
Copy link
Author

Mifaxav commented Jul 15, 2022 via email

@markondej
Copy link
Owner

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)

@Mifaxav
Copy link
Author

Mifaxav commented Jul 15, 2022 via email

@ppoojohn
Copy link

ppoojohn commented Sep 24, 2022

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

@Mifaxav
Copy link
Author

Mifaxav commented Sep 24, 2022 via email

@La-Cabra
Copy link

La-Cabra commented Mar 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants