Audio Matching and Mastering Python Library
Matching + Mastering = ❤️
It follows a simple idea - you take TWO audio files and feed them into Matchering:
- TARGET (the track you want to master, you want it to sound like the reference)
- REFERENCE (another track, like some kind of "wet" popular song, you want your target to sound like it)
You can try out Matchering yourself without having to install it, thanks to the hosting provided by Moises.ai.
Watch the video:
So Matchering 2.0 will make your song sound the way you want! It opens up a wide range of opportunities:
- You can make your music instantly sound like your favorite artist's music
- You can make all the tracks on your new album sound the same very quickly
- You can find new aspects of your sound in experiments
- You can do everything as you want! Because of Your References, Your Rules.™ (just a little nostalgic note) 🤭
Differences from the previous major version:
Installation and Usage
If you are a music producer or an audio engineer, choose the Docker Image.
If you are a developer, choose the Python Library.
Docker Image - The Easiest Way
Matchering 2.0 works on all major platforms using Docker.
If you need to update the version of the installed Docker Image, follow these instructions.
Python Library - For Developers
4 GB RAM machine with Python 3.8.0 or higher is required
Matchering 2.0 depends on the SoundFile library, which depends on the system library libsndfile. On Windows and macOS, it installs automatically. On Linux, you need to install libsndfile using your distribution's package manager, for example:
sudo apt update && sudo apt -y install libsndfile1
On some Linux distributions, python3-pip is not installed by default. For example use this command on Ubuntu Linux to fix this:
sudo apt -y install python3-pip
Matchering Python Package
Finally, install our
# Linux / macOS python3 -m pip install -U matchering # Windows python -m pip install -U matchering
If you would like to enable MP3 loading support, you need to install the FFmpeg library. For example use this command on Ubuntu Linux:
sudo apt -y install ffmpeg
import matchering as mg # Sending all log messages to the default print function # Just delete the following line to work silently mg.log(print) mg.process( # The track you want to master target="my_song.wav", # Some "wet" reference track reference="some_popular_song.wav", # Where and how to save your results results=[ mg.pcm16("my_song_master_16bit.wav"), mg.pcm24("my_song_master_24bit.wav"), ], )
You can find more examples in the examples directory.
Or you can use premade Matchering 2.0 Command Line Application: matchering-cli.
If our package saved your time or money, you may:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for matchering-2.0.6-py3-none-any.whl