bend

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

Inlets

frac32.bipolar pitch bend

bool32.rising trigger

Outlets

None

Attributes

spinner channel

Declaration
int ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  PatchMidiInHandler(MIDI_DEVICE_INTERNAL, 0,
                     MIDI_PITCH_BEND + (attr_channel - 1),
                     (inlet_bend >> 14) & 0x7F, (inlet_bend >> 21) + 64);
  ntrig = 1;
}
if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research