Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vtech_music_driver [2024/03/24 08:48] – created pulkomandyvtech_music_driver [2024/06/20 11:53] (current) pulkomandy
Line 1: Line 1:
-Channel 0 is used for voice and sound effects, the other channels are used for music.+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. 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:
vtech_music_driver.1711270082.txt.gz · Last modified: 2024/03/24 08:48 by pulkomandy
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0