frac32.bipolar note (-64..63)
frac32.positive pressure
bool32.rising trigger
None
spinner channel
int ntrig;
int note;
note = 0;
ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
note = (64 + (inlet_note >> 21)) & 0x7F;
PatchMidiInHandler(MIDI_DEVICE_INTERNAL, 0,
MIDI_POLY_PRESSURE + (attr_channel - 1), note,
inlet_pressure >> 20);
ntrig = 1;
}
if (!(inlet_trig > 0) && ntrig) {
ntrig = 0;
}