UN*X Note

just some geek's notes. Placed here in case, I forgot or someone else didn't know...

Normalize .m3u Playlist

Replay long, randomized playlists without damaging your ears and speakers

while IFS= read -r line; do normalize-audio -m "$line" done < playlist.m3u

Limited to .m3u format because it does contain filenames only, no metadata or file headers. Use grep to filter other formats like .pls, XSPF or .cue