On Wed, 26 Jul 2006, Jens M Andreasen wrote: > if(runningStatus == NOTE_ON || runningStatus == NOTE_OFF) If you plan to receive messages from other channels than 0 you have to use (runningStatus & 0xF0) instead of the full runningStatus and perhaps check for (runningStaus & 0x0F) == receiveChannel.. -- Ari