Freezing/Unfreezing the Munger Granulator in PerColate Package

nm's icon

Hello, I'm using the munger granulator object from the PerColate package and have a small problem when using the record message, which effectively creates a very nice frozen granulation effect.

I'm using it in a live context, and I'd like to be able to freeze and unfreeze the sound depending on if a note on the piano is struck over a certain dB threshold.

When you send munger~ the message 'record 0' it freezes nicely, but the problem is that when you unfreeze it with 'record 1', it seems that the live granulation is out of sync with the input. There's a lag or delay.

The only way that I've so far found to get rid of the delay is to restart the buffer with the 'clear' message, but obviously this doesn't work live. I'd just like to be able to seamlessly freeze and unfreeze the effect. I'm actually trying to imitate the KTgranulator, if anyone knows that, which no longer works in 32bit, but which did this nicely.

I'd be grateful for any thoughts - perhaps I need to send something with the unfreeze command that sets playback back at 0?

Cheers
Nick