bend

Midi pitch bend output
Author: Johannes Taelman
License: BSD
Github: midi/out/bend.axo

Inlets

frac32.bipolar pitch bend

bool32.rising trigger

Outlets

None

Attributes

spinner channel

combo device

Declaration
int ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  MidiSend3((midi_device_t)attr_device, 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