Page 1 of 1

Midi Volume and Balance Msg

Posted: Wed Feb 07, 2007 12:01 am
by Learner
Does anyone know how to send midi Volume and Balance Messages along the lines of:

midiOutShortMsg_(hMo, $C0 | Channel | Patch<< 8 )

Thanks.

Ok Solved it..

Channel=1
Controller1=7 ;Channel Volume, '10' for pan
Vol=127
midiOutShortMsg_(hMo, $B0 | Channel | Controller1 << 8| Vol << 16)