A tool for creating *beautiful* music. Or terrible music, if that's how you roll.
Right now the executable (tested only on a linux install with portaudio installed)
Running make
should produce an executable 'mia'
Run mia with options o
, i
, h
, p
, c
, a
, w
# c -- compose music
# Enters a terminal window and allows playing in a very basic capacity on keyboard (extended to numpad)
mia -c
# o -- output music info to "filename.mia"
mia -o filename.mia
# i -- input music from "filename.mia"
mia -i filename.mia
# p -- play music from input file (otherwise does nothing
mia -p -i filename.mia
# h -- output music in a human readable format to file specified by -o (or stdout if no file is specified)
mia -i filename.mia -o filename.txt -h
# -- or -- (output to stdout)
mia -i filename.mia -h
# a -- output filename.mia to .aiff
mia -i filename.mia -a filename.aiff
# w -- output filename.mia to .wav
mia -i filename.mia -w filename.wav
Options can also be combined. For example:
mia -oc filename.mia
enters composition mode, then saves the work to a file
mia -ip filename.mia
plays the music in filename.mia
mia -iocp filename.mia
plays the music in filem=name.mia, then enters composition mode (while the music plays from filename.mia) and saves the combined track back to filename.mia
Press ``` to exit compose mode Pass the --standard option to mia for a more "standard" keyboard layout (C4 at 'a', upper row incidentals)
| | | | | | | | | | | | | | | |
| | w | e | | | t | y | u | | | o | p | | | |
| |___|___| | |___|___|___| | |___|___| | |___|__
| | | | | | | | | | | | |
| a | s | d | f | g | h | j | k | l | ; | ' | |
|___|___|___|___|___|___|___|___|___|___|___|___|
C4
| | | | | | | | | | | | | | | |
| |(w)|(e)| | |(t)|(y)|(u)| | |(o)|(p)| | |(])|
| |___|___| | |___|___|___| | |___|___| | |___|__
| | | | | | | | | | | | |
|(a)|(s)|(d)|(f)|(g)|(h)|(j)|(k)|(l)|(;)| ' | |
|___|___|___|___|___|___|___|___|___|___|___|___|
Otherwise, notes are a semitone apart, oneoctave up/down each row