Controlling and Sequencing Max with a Hardware Device (Elektron Digitakt)
Hello Everybody!
For an current Project i want to use the Sequencer of my Elektron Digitakt to trigger some sounds in Max. That works already. But i also wan't to synchronize my Digitakt with some already sequenced stuff in max or to set a metro in max via digitakt clock time.
Is there any ressource you can recommend with covers this stuff?
Also the topic of program change, CC and stuff.
Greetings,
Philipp
I have no idea wat that digitakt is, but if it can send or receive
midi beat clock, that would be an option to sync it to max.
If you provide more info in that, one could suggest more...
Hey, Sorry! Thought this device is more common or better known, so anybody would have experience with it.
It's hardware sample, which also has midi sequencing capabilities. It can send and receive midi clock (is midi beat clock anything specific?), program change and all the stuff.
How can i receive this midi clock in max? Normally i sequence everything with a master metro object. But recently i discoverd the tranport object. Should i investigate for this in this object?
midi clock can be received in max using rtin object.
rtin is short for midi real time messages input.
there is no equivalent for sending them out of max, for that one uses midiout.
Then there is song position pointer , short SPP, which is used
to realign master and slaves when jumping or restarting playback position.
that gets received using midiin and is expressed in total elapsed 16th notes.
raw message is 242 LSB MSB.
If you are midi gear & max user, read a bit about raw midi messages
There is no standard way to send time signature from master to slave,
one has to set that manually in transport or whatever is interpreting clock counter.
Question about if transport makes sense ... can't say because I have no idea
what you want to do with the clock.
maybe sync~ object is also worth exploring, depends on your needs.
both sync~ and transport measure time between midi ticks and will allways fluctauate a bit.
using standard objects like counter do not suffer from that slight fluctuations.
In any case, you must turn overdrive in max ON.
I posted many times midi clock / SPP examples on the forum, with or without transport, seq etc.
here is one - receiving side with transport and counter based and sync~
Thanks for your response!
I will investigate in this and will my share my project and problems i will meet.
Thanks again!
I looked in your patch and tried to understand how you messure with midi ticks and i get it.
The Problem is, it is not stable enough. When i use the calculated time for a metro object ist fluctuating strongly.
Using sync~is very stable, but when it goes down to bpm like 30-50 it doesn't represent it correctly.
What could help?
I would personally not use transport or sync~ , only counter wich needs no tempo calculation.
There were many resync, realign etc examples over the years, but I prefer non signal
traditional midi beat cock and all other stuff has to follow it.
you have 2 options, either counter based max as midi slave,
or put that elektron into midi clock slave mode, it is no problem to generate midi clock
from signal or non signal based sequencing in max.
---
Is you max stuff driffting out of sync, or is it only displayed
detected tempo output from sync~ that irritates you ?