This guide assumes that you have python3 setup and have installed this project's requirements with pip/pip3.
If you have created a song (e.g. my_song/) in the songs/ dir, you can create the midi file for it by running
python3 src/main.py <song_directory_name>, (e.g. make midify my_song). The corresponding midi file should be created in
the generated_midi/ directory.
-d: enables debug messages
MIDIMAGIC songs should each have their own folder in the "songs/" directory, structured like this:
songs/
|-- song1/
|-- meta.txt
|-- lead_3_calliope.txt
|-- synth_bass_1.txt
|-- song2/
|-- distortion_guitar.txt
This is an optional file, and just includes general information about the song (author, contributor, description, anything you want)
This file will contain the actual musical score in MIDIMAGIC format for a specified instrument.
See src/util/instrument_programs.json for a list of valid instrument names.
Measures are a series of 9 vertical pipes with a series of hyphens extending out every other line. The measure number appears right above the top pipe, and the key for that measure is right after the measure number (e.g. F#m for F sharp minor, or Bb for B flat major).
Clefs are positioned in the center of the vertical bars that denote the start of a measure
&: Treble clef
F: Bass clef
w: whole note
h: half note
q: quarter note
e: eighth note
x: sixteenth note
W: whole rest
H: half rest
Q: quarter rest
E: eighth rest
X: sixteenth rest
ppp, pp, p, mp, mf, f, ff, fff all supported
<: cresendo
>: decrescendo