[CM] Midi file format

Heinrich Taube taube at uiuc.edu
Sat Jan 31 10:43:33 PST 2009

ok svn trunk now has a new Audio>MidiOut>Midifile Settings...  dialog  
and the midifile defaults are now just like cm2 (beats not  
milliseconds with tickperquarter=480, tempo=60)

with that in place the following writes a file that displays  a c- 
major scale s s s s q e e q in sibelius

define process test()
   run for k in key({c4 d e f g a b c5})
     for r in {.25 .25 .25 .25 1 .5 .5 1}
     send "mp:midi", 0, r, k
     wait r

sprout test(), "~/test.mid"

More information about the Cmdist mailing list