thru clock

Midi clock thru object. Thru's clock from the input to the outputs. can send to two outputs
Author: Mattilyn Mattroe
License: if you use this you have to give me a doughnut every time you go to the cinema
Github: matroe/midi/thru clock.axo

Inlets

None

Outlets

None

Attributes

combo clock source

combo first output

combo Turn on first output

combo second output

combo Turn on second output

Midi Handler
if (attr_input) {
  if ((status == MIDI_TIMING_CLOCK) || (status == MIDI_START) ||
      (status == MIDI_CONTINUE) || (status == MIDI_STOP)) {
    if (attr_onA) {
      MidiSend1((midi_device_t)attr_outputA, status);
    }
    if (attr_onB) {
      MidiSend1((midi_device_t)attr_outputB, status);
    }
  }
}

Privacy

© 2024 Zrna Research