asivery / webminidisc

Upload your Music to NetMD and HiMD MiniDisc devices thanks to WebUSB and WASM
GNU General Public License v2.0
122 stars 28 forks source link

Use replaygain tag, if it exists #10

Closed Shadester closed 2 years ago

Shadester commented 2 years ago

If the input file contains a replay-gain tag, it will be used in the ffmpeg conversion to the raw file to send to the player. This will make it possible to use metaflac, for example, to normalize song levels if taken from different input levels. If the tag doesn't exist, nothing will be done.

https://www.reddit.com/r/ffmpeg/comments/t0klxx/comment/hyam1n7/?utm_source=share&utm_medium=web2x&context=3 https://video.stackexchange.com/a/19528 https://xiph.org/flac/documentation_tools_metaflac.html https://hydrogenaud.io/index.php/topic,115065.msg948983.html#msg948983

Shadester commented 2 years ago

I added a checkbox and made it mutually exclusive (you can't add normalization and replaygain at the same time). I don't know in what order it comes in that case and if even anyone wants to use both.