How to get timing right?

Zettt's icon

Hi,

This is always the "big question" in Max. How do you get timing right?
There is a lot of discussion happening around this topic. Everybody has found one or another solution to his or her problems.

What is your recommendation if someone really needs sample accurate timing?

In my case I'm using poke~ to write to a buffer~ and then will read that back. (With index~)
Anyway. My patch the incoming audio to the current position in the bar. The problem now is that sample accurate timing is a bit hard to accomplish. I saw someone using phasor~ another one used metro~.
(phasor~ @frequency 1 0 0 bars.beats.units @lock 1, metro 128n @active 1 @quantize 128n)

Which way do the Max for Live gods prefer?

Emmanuel Jourdan's icon

phasor~ @lock 1 is definitely the way to go. It's automatically synchronized with Live's transport. This is the way used in BufferShuffler for instance to synchronize the chucker~ object.