PeteManchester / MediaPlayer

61 stars 20 forks source link

Volume bump at track start #66

Closed etchoune closed 7 years ago

etchoune commented 7 years ago

Hi Pete and first thanks for this wonderful project !

I notice a volume bump at the beginning of each track. I think it's due to volume being set to 100% and quickly decreasing to the volume set by the controller (BubbleUpnp).

I use a RPi with Hifiberry DAC+ Pro.

Here is an extract of the log: 2017-01-18 20:53:49,352 [OR-PL:61] DEBUG [org.rpi.mplayer.MPlayer] PositionThreadState: NEW 2017-01-18 20:53:49,352 [OR-PL:61] DEBUG [org.rpi.mplayer.MPlayer] Position Thread is in State NEW Start Thread 2017-01-18 20:53:49,353 [OR-PL:61] DEBUG [org.rpi.mplayer.OutputReader] Starting playback... 2017-01-18 20:53:49,366 [OR-PL:61] DEBUG [org.rpi.mplayer.OutputReader] [Mixer] No hardware mixing, inserting volume filter. 2017-01-18 20:53:49,369 [OR-PL:61] DEBUG [org.rpi.mplayer.OutputReader] Volume: 35 %

PeteManchester commented 7 years ago

Hi,

Are you able to try a different controller from BubbleUpnp just to make sure it is not the controller?

Also it looks like you are using mplayer as the player, it might be worth trying MPD instead of mplayer if you can. This might handle the volume change a bit better and MPD also supports gapless playback.

Thanks,

Pete.

etchoune commented 7 years ago

It works fine with MPD, no volume bump and no gap between tracks indeed. Perfect ! Thanks for the answer.