count~ in Maxforlive always resets after 1 measure

rjungemann's icon

Good evening,

I didn't think I'd be asking a Maxforlive question... but, I am trying to make a "reverser" which listens to the last 20 seconds of audio, and when you trigger it, will play the audio that's been recorded, reversed.

I am using 40-second long buffer to store the audio, which I store starting at the 0-second mark and at the 20-second mark, creating a sort-of circular buffer, using count~ and poke~.

Everything works great in Max. But, in Maxforlive, my count~ object resets after every measure! It's supposed to count up to 960000, but it only gets to about 96000 before restarting. Is this a known limitation with Maxforlive?

Max Patch
Copy patch and select New From Clipboard in Max.

Attached is the Maxforlive patch and the Max patch. The Maxforlive patch is mono (to make it easier to follow) but the Max patch is stereo.

Reverser-2.amxd
amxd
rjungemann's icon

Never mind. count~ still doesn't work in Max for Live but I got around it by using gen~ to write to the buffer. Turns out there's another reason to use gen~, to work around nonsensical Max for Live bugs.

Ben Bracken's icon

count~ appears to be working here ok in both MFL and Max. If you do manage to track down the problem, feel free to drop us a note.

-Ben