mariolukas/HydraPlay

Popping Noise When Playing Music

rogerquake opened this issue · 2 comments

I've noticed a popping noise at the very beginning when playing a file. I believe I tracked it down to the "wavenc" option in the output setting below. I compiled snapcast and mopidy outside the docker container and everything works fine. To fix the issue inside the container, I would need to modify the mopidy template file and re-compile the container?

output = audioresample ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audioconvert ! wavenc ! filesink location=/tmp/stream_1.fifo

Thank you for reporting this issue.

Best Practice in this case would be to use the docker-compose.ui-dev.yml ( yes it builds a dev image) but you can change the template and down/up the compose file again. The changes are available as soon as the container is up again. The dev setup prevents re-building the image after you changed something.

After you solved the issue i would appreciate a Pull Request with the fix. Or just let me know how to fix it and i will add to the next release.

Thanks! Appreciate the quick reply. That worked perfectly. Once I removed "wavenc", there is no issue as expected based on previous testing. The next item i'm going to work on is building in the snapcast stream switch tool into the container:

https://github.com/dxtich/snapcast_stream_switch

It's pretty awesome if you haven't seen it before.