Skip to content

02 Next steps

Gene Boggs edited this page Oct 1, 2021 · 14 revisions

Playing a MIDI file

> timidity ex-01-04.pl.mid

> timidity -c ~/timidity.cfg ex-01-04.pl.mid

> cat ~/timidity.cfg
# https://timtechsoftware.com/general-midi-soundfont-download/
#soundfont /Users/gene/Music/GeneralUser_GS_SoftSynth_v144.sf2
# https://member.keymusician.com/Member/FluidR3_GM/index.html
soundfont /Users/gene/Music/FluidR3_GM.sf2

Using subroutines for tracks, and playing them simultaneously

Using filthy globals: Example 1

With proper variable passing: Example 2