-
Notifications
You must be signed in to change notification settings - Fork 352
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
Crossfade noise on line out with FLAC files #2050
Comments
Your log shows that you never had any playback. |
Ah. I included the log output that was shown on the command line where I ran mpd with the I ran it again just now, recreating the noise, and here is the output of the written log file with the
The noise occurred right before the first of the two |
I'm experiencing similar interference (sounds like static buzz) when crossfading between mp3 files. Might have something to do with audio backend on mac. Havn't yet had the chance to test on linux (alsa). versions:macOS 14.4 (Sonoma) logs
|
Hmmm, if this is specific to macOS, then unfortunately I cannot help. macOS support has been removed from MPD because there were a bunch of known bugs but no volunteer to fix them. Sorry, there's nothing I can do (until a MPD/macOS maintainer spawns). |
I'm experiencing this too on Linux, might be the format conversion? In the log above:
|
Bug report
When crossfade is enabled noise can be heard on the line out output for the last 5 seconds of the song.
Describe the bug
When cross fading from a flac from to a flac file, or from a wav file to a flac file, noise is often heard on the system audio output (but not on other outputs e.g. wav via http or fifo). Not every flac file will cause it, and/or different flac files will cause it at different audible levels. When a flac file does cause the noise, the noise will sound the same each time for that specific flac file (i.e. the noise does not appear to be random).
I had noticed this issue before between flac to flac crossfades. I believe this is the same as issue #1101. In putting together an example for this bug report mpd happened to do a cross fade from playing a wav file to playing my example flac file. I heard noise during the fade from wav to flac, then a different noise when fading from flac to flac.
I have stashed a recording of this at https://otto.stream/mpdissue/system_audio_noise.aiff
The noise from the wav to flac cross fade can be heard at the 5 second mark, and then a noise from the flac to flac cross fade is at the 45 second mark.
The example flac used is at https://otto.stream/mpdissue/example.flac and it was sufficient to just queue up this same flac file multiple times to trigger the cross fade noise.
Expected Behavior
Noise free cross fades between files encoded as flac on the system line out output
Actual Behavior
Often there is noise when cross fading from flac to flac
Version
This is on macOS 12.7.4 Monterey.
MPD was built from source using Homebrew 4.2.21-dirty
MPD version:
Configuration
Log
The text was updated successfully, but these errors were encountered: