Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
Hi Jem

Ok. I am not clear exactly what you are doing and on what equipment, but you could check CPU usage while the stuttering is happening in case this is the cause.

Configure your system so the stuttering will never happen. Play Spotify, and in a termal run 'top' and press the key '1' (to show all cores). Note the approximate CPU% values.

E.g. my Pi4 is doing very little and the 'id' column says the Pi is almost completely idle

Code:
%Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id
%Cpu2  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id
%Cpu3  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id

Now configure your system so the stuttering will happen. Play Spotify and in a termal run 'top' and press the key '1' (to show all cores). Compare the CPU% values when the audio is stuttering to what you saw before. Are some cores near 100% busy (0% idle)?

Otherwise, it may be an ALSA configuration issue, possibly with some interaction with librespot, and I won't realistically be able to help with this.

Adrian.
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by adrii - 11-16-2021, 10:17 AM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: