SokoloffA / radiola

MIT License
146 stars 6 forks source link

Audio pitch shifts down once in a while #39

Open petepal opened 3 months ago

petepal commented 3 months ago

I occasionally experience an audio problem where the sound becomes pitched down, as if the stream is playing at a slower speed. The normal audio quality and pitch are restored when restarting the stream or the app. It happens randomly, at least once a week, usually after longer time with no playback. Additional info:

Is there a way to debug wheather it's an app or stream's issue?

SokoloffA commented 3 months ago

You have me stumped. Now the player logic is very simple, the program creates a system player class, passes the station URL to it and tells it to play. I don't even know how or what we can debug here. Maybe the problem is with the network or on the server side.

To solve another issue, I may have to abandon such a simple scheme and work with the network myself. Maybe then it will be possible to find the cause of your problem.

What we can do right now. I have a Linux version of the program, of course it doesn't use the macOS player system class. I'll listen to your streams on it. Maybe something will become clearer. Please try to listen to your streams in VLC or Custer.