--- linuxsampler/trunk/src/engines/EngineBase.h 2010/01/08 19:20:37 2042 +++ linuxsampler/trunk/src/engines/EngineBase.h 2010/01/09 09:37:01 2043 @@ -1096,7 +1096,10 @@ pKey->pEvents->free(itNoteOnEventOnKeyList); if (!pChannel->SoloMode || pChannel->PortamentoPos < 0.0f) pChannel->PortamentoPos = (float) key; - pKey->RoundRobinIndex++; + if (pKey->pRoundRobinIndex) { + (*pKey->pRoundRobinIndex)++; // counter specific for the key or region + pChannel->RoundRobinIndex++; // common counter for the channel + } pChannel->listeners.PostProcessNoteOn(key, vel); }