strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.63k stars 177 forks source link

Playing tracker/mod files results in extremely distorted sound and high CPU load #772

Closed knochenhans closed 2 years ago

knochenhans commented 2 years ago

Describe the bug Playing tracker files (ProTracker, Scream Tracker …) results in extremely and increasingly distorted sound and sometimes a high CPU load that only ends when quitting Strawberry. Playing tends to work right after starting Strawberry but distortion sets in when switching to another file. The files I tested with play fine in other audio players. Regular audio files are playing without problems for me in Strawberry.

To Reproduce Play tracker files.

Expected behavior Playing tracker files without distortion :)

System Information:

jonaski commented 2 years ago

This looks like a gstreamer bug to me. It occurs when preloading the next URL.

jonaski commented 2 years ago

A workaround: In the backend settings tick all options for cross-fade including "Cross-fade when changing tracks automatically" and un-tick "Except between tracks on the same album or in the same CUE sheet". This will disable gap-less playback and pre-loading, instead end each song normally and create new pipelines for each track change.

jonaski commented 2 years ago

This bug is in GStreamer, I opened an issue in gst-plugins-bad here: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1676