® Waves System
V 1.0 - 2013
I.D. AL - MicroPlayer mkII - Wav MP3 Audio player - User manual
List of commands:
00h: not used
X1h ( 01h to 71h): "Go to" folder command
02h: transport bar command
03h: volume control command
●
●
●
●
●
00h - 00000000b: not used
●
●
●
●
●
01h à 71h - 0xxx0001b: command of jump towards a folder
The folder is designated by the bank number and the next data byte.
xxx is the bank number. To launch 1000 folders ( from 000 to 999 ) , it is necessary to divide this number
in several directory ranges (bank) of 128 values.
0xxx0001b: xxx= bank number depending of the folder number
01h - 00000001b: Bank 0 -> from 000 to 127
11h -00010001b: Bank 1 -> from 128 to 255
21h - 00010001b: Bank 2 -> from 256 to 383
31h - 00110001b: Bank 3 -> from 384 to 511
41h - 01000001b: Bank 4 -> from 512 to 639
51h - 01010001b: Bank 5 -> from 640 to 767
61h - 01100001b: BanK 6 -> from 768 to 895
71h - 01110001b: Bank 7-> from 896 to 999
(The binaries values beyond 999 are ignored)
Method of calculation:
1) bank = value in the above table depending on the folder number
2) value = folder number - (bank x 128)
Example of a frame triggering folder 278 in the player number 1:
Folder number = 278
1) 278 is in bank 2 (from 256 to 383)
2) Value = 278 - (2 x 128) = 22
The frame is:81 21 16
Byte 1: 81h - 10000001b: status byte, player number 001
Byte 2 :21h - 00100001b: bank 2, command of jump towards a folder
Byte 3 :16h - 00010110b : value 22 (reference of folder 278 in bank 2)
●
●
●
●
●
02h - 00000010b: Transport bar command
The transport function is defined by the data byte as follows:
value of the datas of the byte 3 (datas)
01h - 00000001b : Playback
02h - 00000010b: Stop
03h - 00000011b: Next file in the current directory
04h - 00000100b: Previous file in the current directory
Note: the other values are ignored.
- 25 -