I've written an algorithm that takes the output of [transport] and converts it to a number between 1 and 64, which is then fed to a live.grid.
If I set all 64 semiquavers to 'on' and start the transport, the timing of the notes sounds a little off, when compared to playing semiquavers from a Live clip.
I'm using a straight Max patch here (not an M4L device) but I'm assuming that shouldn't matter.
Could it be my algorithm is inefficient? I've read that it's better to put your whole calculation into a single [expr] (as I have in this patch) rather than use a chain of math objects (which, by the way, produces the same inaccuracies).
I'd be grateful if you could try the patch on your machine and tell me if you experience the same inaccuracies, and also suggest how I might eliminate them. Thanks.
Edit: system details: