denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] Placing a beat at the start of each measure.


From: Richard Shann
Subject: [Denemo-devel] Placing a beat at the start of each measure.
Date: Sun, 13 Sep 2009 18:43:38 +0100

with the definition
(define (MIDI-StartNoteOnChannel note channel)
  (d-DirectivePut-standalone-midibytes "MIDInote" (string-append
"0x9" (number->string channel)" " (number->string note) " %%%")))

you can now do things like

(while (d-MeasureRight)
 (MIDI-StartNoteOnChannel 66 9))

Which places a drum beat (channel 9 note 66) at the start of each
measure.

Richard






reply via email to

[Prev in Thread] Current Thread [Next in Thread]