TobKra96 / music_led_strip_control

Audio visualization for LED strips in real-time with web interface on a raspberry pi.
https://tobkra96.github.io/music_led_strip_control/
MIT License
298 stars 64 forks source link

Signal losing #85

Closed d0uble-b closed 3 years ago

d0uble-b commented 3 years ago

Hi, its me again. I have another issue now. When i switch between the music effects, the signal is freezing a bit or stopping and the strip not will be synchronised anymore with the music beat. When i stop the music, the effects are playing the last 6-7 beats of the music. How could i fix it?

TobKra96 commented 3 years ago

Hi, can you check the CPU usage of your raspberry pi with htop? Maybe there is a untervolting of the raspberry pi? How big is your power supply of the raspberry and how long is the usb cable?

With some mics, you have to play around with the buffer size and the sample rate of the mic.

Have a great day! TobKra