Page 1 of 2
Track delay with Max API ?
Posted: Thu Oct 02, 2025 2:15 pm
by chapelier fou
Is it possible to get/set the track delay with M4L ?
Couldn't find a way, but I thought I read somewhere it was possible...
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 3:03 pm
by [jur]
I can't find anything in the LOM.
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 3:06 pm
by chapelier fou
It seems so.
Doing it the hard way, shifting MIDI notes inside clips.
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 5:12 pm
by S4racen
A standard Delay on the track set to a negative number??
USed to do that with my DJ Hybrid setup for small adjustments to sync up with Serato.
Cheers
D
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 5:15 pm
by [jur]
S4racen wrote: āThu Oct 02, 2025 5:12 pm
A standard Delay on the track set to a negative number??
??

Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 5:16 pm
by [jur]
Oh, the TRACK is set to a negative value, and you'd use a Delay to fine tune. Is that it Darren?
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 5:47 pm
by chapelier fou
No I need a quick way to switch between two delay values on a midi track.
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 6:55 pm
by [jur]
chapelier fou wrote: āThu Oct 02, 2025 5:47 pm
No I need a quick way to switch between two delay values on a midi track.
Do you need any negative track delay, though?
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 6:57 pm
by chapelier fou
Yes I do.
Re: Track delay with Max API ?
Posted: Thu Oct 02, 2025 7:45 pm
by [jur]
Then, taking a bit from Darren's idea, maybe you should move your notes backward and then use a Delay instance to switch to your 2nd time value?
Re: Track delay with Max API ?
Posted: Fri Oct 03, 2025 5:54 am
by S4racen
I used to set all the track delays backwards, then use the delay device to bring them all back to zero so i had some "wiggle room" so to speak...
Cheers
D
Re: Track delay with Max API ?
Posted: Fri Oct 03, 2025 6:11 am
by chapelier fou
Thanks for the nice ideas. Unfortunately I need this for a MIDI track. But Iām cool with shifting all notes from all clips back and forth using the call_get_all_notes method.
Re: Track delay with Max API ?
Posted: Fri Oct 03, 2025 8:43 am
by doubleUG
setting a "fake" lantency in you device should delay all other tracks.
<pre><code>
----------begin_max5_patcher----------
493.3ocmT0taiBCD72Do7Nfr5OoU.so4t9pTcBYfsItBrQ1KzDUcu60eRfnP
KpRIx16t1Cyri8ma2DQJEm.EI9k3Wiih9TGIxFyDIJDHhzROU0PU1BIsfRQO
.jDeRDNg1DMTD3UmiuKaLWGEqNx3GJjPE5fI+OoOjlDF1s2tPOO9egMw6aE8
XCfV7xBgY0VTDkue+Si.3JDO2AtSmPlcNLd3XxsA++1MlQ8Pxp4aCa.d.oki
XNPkbZKb6jeCiyd1Ljkl9ST9wIgKZXbPUDN1kTj7uQQRb+eqQPw4xS3vkfB3
HEYBtYSoWHiTSTDjE.mV1.yPel7NFUQGf5BJhRVYOBWlo7ZbPjM5XSOHdKDe
Lwbb6a87H0PhcooWnvrJaD7CK1VlUYqt8N8addRQs9GLUFlkWcTHw0gSnGje
qj8bFpvyNM8u9B71yKS9M9UN7g1Qbiqm1u0iLUMLvpfU3XebWtYX+9UaXm3H
yV1QVR0FYcyjwwvvB2ZytREbkQr11qd0xRCShqzFknWVEP1+3Q7DlTCJjwG8
9uN90aJZ4lvpgSeyLN6mf6oaBmmszttAPp76vgjtk+tPZ8NIt0Ltasy0Rj5l
bXK9RnRceF0M4doy8d5Y+CoDikWx6YAM2vUCzVWkwsq5nNVYcea2nK3KVnCd
v.
-----------end_max5_patcher-----------
</code></pre>
Re: Track delay with Max API ?
Posted: Fri Oct 03, 2025 8:52 am
by chapelier fou
Nice trick, doubleUG, but I need a negative delay.
Re: Track delay with Max API ?
Posted: Fri Oct 03, 2025 11:04 am
by doubleUG
perhaps make a delay (1Bar - 500 ms) and shift the clip 1 Bar left.