count~ in Maxforlive always resets after 1 measure

    May 15 2014 | 4:07 am
    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?
    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.

    • May 15 2014 | 5:20 am
      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.
    • May 15 2014 | 4:42 pm
      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.