private void resetVoice() { inUse = false; state = VoiceState.None; note = 0; time = 0.0; fadeMultiplier = 1.0f; decayCounter = 0; fadeCounter = 0; pan = 0.0f; channel = 0; rightpan = 1.0f; leftpan = 1.0f; velocity = 127; }