Poke, index problem...

Stouf's icon

Hello,

I have trouble using poke and Index.
I write into memory with poke using a cycling sample position.
When writing the 2nd cycle, index is playing !! i'm writing in memory, why is Index playing during recording !!
The sample position is the same.
I don't want Index playing when recording !! Only when record is stop, Index can play.
I hope you understand, sorry for my english.

Here is a part of the patch.

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

mudang's icon

[index~] doesn't care if any other object is currently writing into its buffer.
It will always output a signal (even if you send it a -1 index).

But you already have a matrix~ in your patch to switch playback on/off.
You could toggle this from your record on/off messages.

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

Here's a stripped down version to make it clear.
Is this what you're wanting to do ?