Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
vtech_music_driver [2024/03/24 08:48] – pulkomandy | vtech_music_driver [2024/06/20 11:53] (current) – pulkomandy | ||
---|---|---|---|
Line 3: | Line 3: | ||
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. | 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. | + | * 00XX-0FXX change instrument of channel (00-0F) to instrument XX |
+ | * 10X0 YYYY pitch bend? | ||
+ | * 2000 marks the end of the song (sets tempo to 0, so the player stops) | ||
+ | * 2XYY (with X > 8) tempo change (for all channels) | ||
+ | * 40XX note duration? | ||
+ | * 8xxW xxYY xxZZ Note on, channel W, note/pitch Y, volume Z | ||
Otherwise there are commands as 3 words used as 6 packed bytes: | Otherwise there are commands as 3 words used as 6 packed bytes: |