Skip to content
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

Replaygain volume randomly increases #2136

Open
silvestron opened this issue Oct 21, 2024 · 0 comments
Open

Replaygain volume randomly increases #2136

silvestron opened this issue Oct 21, 2024 · 0 comments

Comments

@silvestron
Copy link

Bug report

Describe the bug

Replaygain volume randomly increases when using mpc seek or a seekbar.

Expected Behavior

Replaygain should not change by this action.

Actual Behavior

The volume gets way too loud and noticeably clips, I noticed this first when using ncmpcpp while playing an opus song with very low replaygain. Using the seekbar a few times causes the volume to raise and it remains like that. The same thing happened using mpc seek +10/-10 a few times. It doesn't happen right away, it might take 20 attempts.

When this bug occours, the log shows

decoder_thread: probing plugin opus
decoder: audio_format=48000:16:2, seekable=true
[...]
replay_gain: scale=1.7782794

Version

0.23.15

Configuration

music_directory		"~/music"
sticker_file			"~/.local/share/mpd/sticker.sql"

bind_to_address		"localhost"
port				"6600"

database {
       plugin "simple"
       path "~/.local/share/mpd/db"
       cache_directory "~/.cache/mpd/cache"
}

audio_output {
        type "pipewire"
        name "PulseAudio"
}

replaygain			"auto"
replaygain_limit		"yes"

Log

client: [2] command returned 0
client: [2] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [2] process command list returned 0
decoder_thread: probing plugin opus
decoder: audio_format=48000:16:2, seekable=true
client: [2] closed
output: opened "PulseAudio" (pipewire) audio_format=48000:16:2
replay_gain: replay gain mode has changed off->album
replay_gain: scale=1
replay_gain: scale=0.06716584
client: [3] opened from [::1]:45446
client: [3] process command "seekcur "+10""
client: [3] command returned 0
client: [3] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [3] process command list returned 0
client: [3] closed

[...]

client: [19] opened from [::1]:54244
client: [19] process command "seekcur "+10""
decoder_thread: probing plugin opus
decoder: audio_format=48000:16:2, seekable=true
client: [19] command returned 0
client: [19] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [19] process command list returned 0
client: [19] closed
replay_gain: scale=1.7782794
client: [20] opened from [::1]:54252
client: [20] process command "seekcur "-10""
decoder_thread: probing plugin opus
decoder: audio_format=48000:16:2, seekable=true
client: [20] command returned 0
client: [20] process command list
client: process command "status"
client: command returned 0
client: process command "currentsong"
client: command returned 0
client: [20] process command list returned 0
client: [20] closed
replay_gain: scale=1.7782794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant