Callback for incoming MIDI “start” message?

Is there a Norns callback hook for incoming MIDI start messages?

Need to reset my sequencer script master step-counter when an external clock starts.

i am pretty sure there isn’t a callback specifically for incoming MIDI start messages.

try using clock.transport.start() as a callback hook to detect this.

edit:

you might also try using the more generic midi handler that is created when you call the midi.connect function.

3 Likes

There is a concise example of how to do this in awake: awake/awake.lua at 73d4accfc090aaab58f1586eaf4d9cf54d3cff01 · tehn/awake · GitHub

4 Likes

Thanks guys, I will look at those.

1 Like