[CM] Control Change in CM?
Rick Taube
taube@uiuc.edu
Tue, 20 Apr 2004 09:07:57 -0500
On Apr 17, 2004, at 9:33 PM, alin weiller wrote:
> Hi, is it possible to send/write midi control change events with CM?
yes of course, its just not documented well.
If you are writing midi files in CM 2.5.0 (CVS) you can use the
'midi-control-change' class:
(new midi-control-change :controller <int> :value <int>)
If you are using CM 2.4.2 you use the catch-all 'midimsg' class:
(new midimsg :msg (make-control-change <chan> <control> <value>)
If you are writing low-level MidiShare events (midievs) directly to the
driver in CM 2.5.0 you do
(ms:new CtrlChange :port <int> :chan <int> :controller <int> :value
<int>)
Ill try to add documentation of the new midi classes in 2.5.0 this week.