[Fluxus] commits: midi-out
gabor papp
gabor.lists at mndl.hu
Fri Oct 1 09:23:29 PDT 2010
hi all,
initial midi-out support is added to git. it breaks old midi code.
(midi-info) now returns outport ports also.
(midi-init) is replaced by (midiin-open) and (midiout-open).
(midi-close) is replaced by (midiin-close) and (midiout-close).
the command that sends midi messages is (midi-send), which expects 1 to
3 integers.
i haven't got any midi output device, so i only tested it briefly with
virtual midi piano keyboard (http://vmpk.sourceforge.net/)
(require fluxus-017/fluxus-midi)
(displayln (midi-info))
(midiout-open 0)
(midi-send 144 64 90)
(sleep 1)
(midi-send 128 64 10)
(midiout-close)
best,
gabor
More information about the Fluxus
mailing list