cc

Midi controller output. Sends to midi/in/* objects only.
Author: Johannes Taelman
License: BSD
Github: midi/intern/cc.axo

Inlets

bool32.rising trigger

frac32.positive value

Outlets

None

Attributes

spinner channel

spinner cc

Declaration
int ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  PatchMidiInHandler(MIDI_DEVICE_INTERNAL, 0,
                     MIDI_CONTROL_CHANGE + (attr_channel - 1), attr_cc,
                     __USAT(inlet_v >> 20, 7));
  ntrig = 1;
}
if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research