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