drsm79 / mp3toradio

Convert mp3 (and other audio formats) to RAW files for use with Music Thing Modular Radio Music

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mp3 to radio

This script takes a set of files and creates a "radio station" for the Music Thing Modular Radio Music eurorack module.

This module has various requirements on the format and on card layout of the files, so a script seemed like a good idea.

Install

This project uses pipenv. Go install that then:

pipenv install
pipenv shell

This script uses pydub, you may need to install it's dependencies (ffmpeg).

Usage

Convert all music (mp3, ogg, wav...) files in a directory with:

python convert -d directory

multiple directories can be specified, and will be output into a single directory:

python convert -d directory1 -d directory2

Convert specific files with:

python convert -f file1.mp3 -f file2.ogg

By default the script creates and fills the channel directory in the current working dir. You can override that with:

python convert -f file1.mp3 -f file2.ogg -o 16

About

Convert mp3 (and other audio formats) to RAW files for use with Music Thing Modular Radio Music

License:Apache License 2.0


Languages

Language:Python 100.0%