play-midi-note   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/contrib/rtmidi-scm.xtm

Implementation

(define play-midi-note
  (lambda (time device pitch velocity duration channel)
    (callback time 'midi_send device *midi-note-on* channel pitch velocity)
    (callback (+ time duration) 'midi_send device *midi-note-off* channel pitch velocity)))


Back to Index

Similar Entries