frac32.positive v0
frac32.positive v1
frac32.positive v2
frac32.positive v3
frac32.positive v4
frac32.positive v5
frac32.positive v6
frac32.positive v7
int32 startcc
None
int32 startcc
combo device
spinner channel
uint32_t prev0;
uint32_t prev1;
uint32_t prev2;
uint32_t prev3;
uint32_t prev4;
uint32_t prev5;
uint32_t prev6;
uint32_t prev7;
if (inlet_v0 != prev0) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
0 + inlet_startcc + param_startcc, inlet_v0 >> 20);
prev0 = inlet_v0;
}
if (inlet_v1 != prev1) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
1 + inlet_startcc + param_startcc, inlet_v1 >> 20);
prev1 = inlet_v1;
}
if (inlet_v2 != prev2) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
2 + inlet_startcc + param_startcc, inlet_v2 >> 20);
prev2 = inlet_v2;
}
if (inlet_v3 != prev3) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
3 + inlet_startcc + param_startcc, inlet_v3 >> 20);
prev3 = inlet_v3;
}
if (inlet_v4 != prev4) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
4 + inlet_startcc + param_startcc, inlet_v4 >> 20);
prev4 = inlet_v4;
}
if (inlet_v5 != prev5) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
5 + inlet_startcc + param_startcc, inlet_v5 >> 20);
prev5 = inlet_v5;
}
if (inlet_v6 != prev6) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
6 + inlet_startcc + param_startcc, inlet_v6 >> 20);
prev6 = inlet_v6;
}
if (inlet_v7 != prev7) {
MidiSend3((midi_device_t)attr_device,
MIDI_CONTROL_CHANGE + (attr_channel - 1),
7 + inlet_startcc + param_startcc, inlet_v7 >> 20);
prev7 = inlet_v7;
}