Page 1 of 1

Note On/Off Pads

Posted: 20 Oct 2012 02:36
by mh175
Sorry but could someone help me with something simple.

Using scripts, I just need to get my pads object to output a noteon message only while the pad is being depressed.

I use pads to change articulations. Sometimes I need to send program changes, sometimes keyswitches. I have a Switches object called "program" which lets me define which I need.

if(Switches.x==1)
{
noteout(0,20,127,1);
}
else
{midiout(0, 0xc1,0x0a);}

I'm probably doing something wrong...