Physics and Free Software

  • 43 Posts
  • 198 Comments
Joined 2 years ago
cake
Cake day: June 5th, 2023

help-circle




















  • What you are looking for, at least in part, is called compression. You could compress tracks to have the same volume with an external tool like Audacity (which I understand is no longer open source or has a weird licensing situation) or ffmpeg.

    There are at least 2 drawbacks. First, you’d need to run your software over the tracks externally and rerecord them. Which could be a pain in the ass unless you write a script. If you haven’t done that, it shouldn’t be hard to do. List the files in a directory and feed them into ffmpeg with whatever compression parameters you want.

    The second issue is the loss of sound quality. You can somewhat avoid this if you set the compression range in dB wide enough.

    All that said, the easiest thing would be if there was an app that either was a media player that did this for you, or acted like a filter for your media player. The latter can be done on linux with pipewire/jack without using ffmpeg or audacity.

    Not a direct answer to your question, but I hope that helps 🙂