Channel 0 is used for voice and sound effects, the other channels are used for music. It is slightly modified from Sunplus examples, and also used in the V.Smile Baby games.

Channels are allocated dynamically (the code looks for a free channel to play each note as it comes). If there are no channels available, the note is just skipped.

00 20 marks the end of the song.

Otherwise there are commands as 3 words used as 6 packed bytes: