birds-inc / m8-sample-organizer

Tidy your sample library for the M8 Tracker
40 stars 3 forks source link

Click here to download!

This is a Python script to organize and convert your samples for the M8 tracker. You'll run this tool on the command-line - instructions below.

Watch a video on how to use this tool.

M8 Sample Organizer

The M8 is a delightful, gameboy-shaped sampler, sequencer and synthesizer.

But if you've ever tried loading your sample library on it, you've probably run into problems:

M8 Sample Organizer cleans it up! It turns samples from your library like this:

into:

It does lots of cleanup:

Instructions

This is a command-line tool, so you'll need to open a Terminal or cmd.exe shell to run it.

Install Python

Python is pre-installed on most computers - try the command python --version or python3 --version to see if it exists.

Otherwise, you can install it from Python.org. Note the installation path for later reference.

Install FFmpeg

FFmpeg is a free, industry-standard tool used to convert and format audio files for use on the M8.

Note the installation path for later reference.

Download the M8 Sample Organizer

Click here to download the M8 Sample Organizer code. Unzip the contents.

Set up the config file

In the M8 Sample Organizer folder, there's a file called config.yml-sample. Rename this file to config.yml.

Then edit the SRC_FOLDER, DEST_FOLDER, and FFMPEG_PATH to point at your audio library and FFmpeg. DEST_FOLDER is where this tool will create files, so be sure to set it someplace safe!

You can also configure any additional cleanup settings to your liking, add new strike words, etc.

Install yaml

We need a Python library for reading the configuration file - install it by running this command:

python3 -m pip install pyyaml

(If python3 fails, try just python instead.)

Run the tool

Finally, navigate to the m8-sample-organizer-main folder and run the following command:

python3 src/m8-sample-organizer.py

That's it! You'll see as it begins to copy and convert your sample library.

As you add more samples to your library, you can rerun this tool - by default, any existing files will be ignored, so only new ones will be processed.