Skip to content

Instantly share code, notes, and snippets.

@jellea
Created March 25, 2025 11:21
Show Gist options
  • Save jellea/3511fb79b79f2c2297e777bf4b73d4cd to your computer and use it in GitHub Desktop.
Save jellea/3511fb79b79f2c2297e777bf4b73d4cd to your computer and use it in GitHub Desktop.
MIDI clock in running
MIDI clock in running
MIDI stop -> No clock running
stop button -> No clock running
Analog clock in
Reset
When no more incoming pulse for ref ppqn ticks -> No clock running
MIDI start -> MIDI clock in running
MIDI stop -> No clock running
RUN
Run signal low -> No clock running
MIDI start -> MIDI clock in running
MIDI stop -> No clock running
Internal clock running*
MIDI start -> MIDI clock in running
stop button -> No clock running
RUN signal high -> RUN
No clock running
press play -> Internal clock running
MIDI start -> MIDI clock in running
RUN signal high -> RUN
analog pulse and reset type -> Reset
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment