Some of my musical compositions.
- Notation with LilyPond
- MIDI Playback via FluidSynth
- Workflow via entr
- Install LilyPond to somewhere available to your
$PATH
, I use~/bin/lilypond
cat ~/bin/lilypond
#!/bin/bash
exec DIR/LilyPond.app/Contents/Resources/bin/lilypond "$@"
-
Install FluidSynth, I used
brew install fluidsynth
. -
Install entr, I like to use it for auto recompiling with lilypad:
$ cd crash/
$ ls -d * | entr -s 'lilypond -o crash crash.ly'
This outputs a .midi
and .pdf
file
$ tree crash
crash
├── crash.ly
├── crash.midi
└── crash.pdf
- Playback with a
playmidi alias
as at this handy link for How to Play Midi Files from Terminal
$ playmidi crash.midi