® Waves System
V 1.2 - 2014
I.D. AL - MicroPlayer mkII - Wav MP3 Audio player - User manual
- 23 -
5.8 - Assign particular functions to buttons - #BUTTONx:function
The two front buttons are dedicated by default to the volume setting. With the file «config.txt», it is
possible to assign them other functions.
List of commands :
PLAY : Reading of the last known file
STOP : stop of the current reading
NEXT_TRACK : Reading of the next file of the folder currently read.
PREV_TRACK : Reading of the previous file of the folder currently read.
VOLUME_PLUS : Increase the volume from one step
VOLUME_MINUS : Decrease the volume from one step
FOLDERxxx : Jump to the folder xxx - xxx can be a value between 000 and 999
RSxxx : send the line n° xxx of the file " serial.txt " on the output RS232 ( with xxx from 001 to 999 ).
Command line:
#BUTTONx:function
x the number of the button 1 or 2 - function among the list below:
Example:
#BUTTON1:NEXT_TRACK
The button 1 is assigned to the function " next file "
#BUTTON2:STOP
The button 2 is assigned to the function " STOP"
Note: The buttons 1 and 2 of the infrared remote control do the same functions that the ones assigned
respectively to front buttons 1 and 2.
Example of a configuration file (config.txt):
#ID:002
#VOLUME:48
# POWER:1
#BAUDRATE:9600
#RS_MONITORING:1
#BOOT:005
#INPUT01:PREV_TRACK
#INPUT02:STOP
#INPUT04:PLAY
#INPUT08:NEXT_TRACK
#BUTTON1:STOP
#BUTTON2:PLAY
In the following example, the configuration file «config.txt» affects to the player the following parameters:
- Id number of the player for the serial protocol = 002
- Player Volume at power on = 48
- Power saving mode = active
- Speed of the serial link = 9600 bauds
- "Monitoring" mode = Daisy Chain
- Autoplay folder at power on = 005
- Input 1 = Previous File
- Input 2 = Stop
- Input 3 (logical 4) = Play
- Input 4 (logical 8) = Next File
- Button 1 = Stop
- Button 2 = Play