Waveplayer systems WavePlayer8 User manual

Table of Contents
File Format...........................................................................................................................................2
SD Cards...............................................................................................................................................2
Playing Parameter.................................................................................................................................2
Main and Channel Volume Settings.....................................................................................................2
Configuration Menu.............................................................................................................................3
Start Mode........................................................................................................................................3
Play Mode........................................................................................................................................4
Baud Rate Serial..............................................................................................................................4
Data Port Mode................................................................................................................................4
Devi e ID.........................................................................................................................................4
LCD ontrast....................................................................................................................................4
LTC Time ode......................................................................................................................................4
RS232 Proto ol.....................................................................................................................................5
Command Format............................................................................................................................5
KEY Command...........................................................................................................................5
PLAY, STOP Command..............................................................................................................5
SET VOLUME Command..........................................................................................................5
CHANGE VOLUME Command................................................................................................5
SAVE VOLUME Command.......................................................................................................6
GET TRACK COUNT Command..............................................................................................6
GET TRACK NAME Command................................................................................................6
SET TIME Command.................................................................................................................6
GET TIME Command.................................................................................................................6
Response Format..............................................................................................................................6
CRC Cal ulation..............................................................................................................................7
Software Update...................................................................................................................................7
Conne tions..........................................................................................................................................7
Appendix..............................................................................................................................................8
CRC al ulation example: Visual Studio .NET C#.........................................................................8
Pin Assignment DATA Port.............................................................................................................8
Version History................................................................................................................................9

File Format
The Waveplayer is using the multi hannel wav format. All tra ks are saved in one file. This is very
omfortable, be ause you don't need to handle a lot of mono files. Some audio software will be able
to reate multi hannel files. But the re ommend software to be used for this task is the freeware
„Auda ity“. Why? It is free, well tested with Waveplayer and it is simple to do.
Here a very brief instru tion:
1. Start the software.
2. Create as many tra ks as you need (1-8).
3. Fill the tra ks with you ontent.
4. Export you work into a file (WAV PCM , 16 or 24 bit)
5. Done!
Note: There is a very important setting edit->preferen es->import/export. This has to be set to
„ ustom mix“. If this is not done, you will get stereo or mono files all the time.
SD Cards
Cards of any size an be used. The only requirement is to format the ard to FAT/FAT32 with the
minimal luster size of 32kB. Cards bigger than 32GB will be supplied with exFAT and have to be
reformatted to FAT32. This is not possible under Windows. You will need a spe ial tool for that.
For example: Fat32 Format
Playing Parameter
Waveplayer is playing wav files from 1-8 hannels in 16bit or 24 bit.
The supported sample frequen ies are 32kHz, 44,1kHz and 48kHz.
Main and Channel Volume Settings
By repeatedly pressing the „Play“ button, while the devi e is playing a file, you an a ess the main
and hannel volume settings. You an go ba kward by pressing the „Pause“ button, if you want to
go ba k to other parameters in the list. The „+“ and „−“ button will hange the volume in stages of
0.5dB. The individual settings are saved when hanging to the the next („Play“) or to the last
(„Pause“) parameter.

Configuration Menu
By pressing the „Menu“ button you will rea h the onfigurations menu. The „+“ or „−“ button will
hange the available parameter. If you want to hange a parameter press „Play“. Now you are in the
edit mode. The ursor is blinking. Change the parameter with the „+“ or „−“ button. You an save
the setting by pressing the „Play“ button. Press „Stop“ to dis ard the hanges.
Start Mode Play Mode Ba klight Mode Baudrate Serial Data Port Mode Devi e ID
manual single play off 1200 standard 0...254
auto ontinuous play auto off 1min 2400 bus master
time ode random play auto off 5min 4800
song loop auto off 15min 9600
album loop on 14400
19200
28800
38400
56000
57600
115200
128000
256000
LCD ontrast
1-10
Start Mode
•
Manual → Songs will be played by hand
•
Auto → If this parameter is set to on, the Waveplayer will automati ally start to play after
power is on. There is a requirement to make this fun tion work orre tly. We need a
playable song at position 1. What is position 1? After the Waveplayer is swit hed on it will
sort through all files of the root dire tory alphabeti ally and will display the first. This is the
file in position 1. If this file not playable auto play will do nothing!
•
Time ode → If a valid time ode is re eived the player will start playing automati ally.
If the time ode is missing for more than 5s the player will stop.

Play Mode
•
Single Play → is playing one file from start to end .
•
Continuous Play → is playing all playable files of the folder and stops. Non-playable files
will be skipped.
•
Random Play → is playing the files randomly. In this mode only playable files are allowed
to be in the folder.
•
Song Loop → is playing the same file repeatedly.
•
Album Loop → is the same as Continuous Play, but with repeating.
Baud Rate Serial
The baud rate setting is relevant only if the serial proto ol via RS232 is used. Values between 1200
and 256000 baud are possible.
Data Port Mode
The normal setting for using a single devi e is „standard“.
If you plan to use more than one devi e than both modes are of interest.
In „standard“ mode the Waveplayer responds only to ommands whi h have the same ID.
Commands whi h have not the same ID will be forward to the next devi e. Commands with the
ID=255 are broad asts and will be responded and forwarded to the next devi e in the hain.
In „bus master“ mode the buttons „Stop, Pause, Play“ will be forwarded via broad ast to the other
devi es. This way you an use more than one devi e via one keypad. When „Start Mode“ is „auto“
then the devi e will simulate a play ommand, at power on, to start all other onne ted devi es too.
In „Play Mode“ „song loop“ a play ommand will be send at start of every new loop y le to resyn
the other devi es. In „bus master“ mode no telegrams will be forwarded.
Device ID
If you plan to use the data port of the Waveplayer this ID ould be of interest. You an set this value
from 0 to 255. If the se ond parameter of a ommand mat hes the devi e ID, the ommand will be
exe uted and you will get an answer. Note: The 255 is the broad ast ID of all devi es. All devi es
will exe ute this ommand but never get a response.
LCD contrast
Set the ontrast of the LCD display.
LTC Timecode
The devi e has a LTC time ode input and output. The output displays the urrent play time of the
running tra k. The time ode is using a 25f/s format. The time ode input is permanently a tive. Is a
valid signal on the input dete ted, the urrent playtime will fit to the input time. If you want to use
the time ode input, the datas on ard must not be fragmented!

RS232 Protocol
Command Format
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 xx xx xx CRC-8
EY Command
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 0 0=STOP 0 CRC-8
1=PAUSE
2=PLAY
3=MENU
4= PLUS
5= MINUS
6= RELEASE*
PLAY, STOP Command
Using play ommand requires to have numbers in front of the song names. These numbers need to
have two digits. (01 first song 02 se ond song, 03 third, ...)
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 1 00=STOP 0 CRC-8
01=PLAY (01 ...)
...
99=PLAY (99 ...)
SET VOLUME Command
The volume is al ulated as follows: Volume = Parameter2 * -0.5dB
Example: 0 = 0dB (max), 255 = -127,5dB(min)
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 2 0=MAINVOLUME 0-255 CRC-8
1-8=CH VOLUME 0-255
CHANGE VOLUME Command
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 4 0=MAINVOLUME 0=+0.5dB CRC-8
1-8=CH VOLUME 1=-0.5dB

SAVE VOLUME Command
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 3 1 0 CRC-8
GET TRAC COUNT Command
The ommand is sent with parameter 1 = 0. In response you will see the ount of playable tra ks.
Only a tra k with two digits in front will be ounted.
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 5 tra k ount 0 CRC-8
GET TRAC NAME Command
The ommand is sent with parameter 1 = 0. In the response you will see the length of the tra k
name. The response is extended exa tly this ount, be ause the tra k name is append to the
answer.*
Start Value(fix) Devi e ID Command Parameter 1 Parameter 2 Che ksum
0x86 0...255 6 hara ter out 0 CRC-8
SET TIME Command
The parameters are hexade imal values! The ommand must be send only if the player is in stop or
pause mode! Otherwise unpredi table events an o ur.
Start Value Devi e ID Command P1 P2 P3 P4 Che ksum
0x88 0...255 10 hours minutes se ondes frames CRC-8
GET TIME Command
The ommand is sent with parameter 1-4 = 0. In the response you will get the urrent values.*
Start Value Devi e ID Command P1 P2 P3 P4 Che ksum
0x88 0...255 11 sb|hours minutes se onds frames CRC-8
sb = syn bit (Bit7) 1 = Devi e is running in syn with re eived time ode.
Response Format
Start Value(fix) Devi e ID Status Che ksum
0x84 0...255 0=OK CRC-8
1=Tra k not found
2=unknown ommand
3=CRC error ommand
4=CRC error response**
*) This ommand will get a response 0x84 only if a CRC error o urs.
**) This means the error of a forwarded answer.

CRC Calculation
The CRC is al ulates all bytes of the message, whereas the CRC itself is 0. The result of this
al ulation has to be the repla ement for the initial CRC value (0) before sending. To he k if the
message is valid at the other side, al ulate the CRC for the whole message. If the result is zero the
message is valid.
Software Update
1. Copy the file with the name „wp3image.bin“ to a SD ard.
2. Insert the ard in a running devi e.
3. If more than one file on ard use the +- keys and go to the file.
4. The player will re ognize the update and offer to press „Play“.
5. After starting the update pro edure you will see „Burning done!“ after a few se onds.
Additionally the info how mu h pages are burned.
6. Restart the devi e and the update is finished.
Connections
•
8x audio out (unbalan ed, 0dBu maximum Level, 10kOhm output resistan e)
•
LTC tim ode in/out
•
Data port for RS232 proto ol

Appendix
CRC calculation example: Visual Studio .NET C#
byte r _8(byte[] msg, int len)
{
byte crc = 0x00;
byte data;
bool flag;
byte polynom = 0xD5;
for (int i = 0; i < len; i++)
{
data = msg[i];
for (int bit = 0; bit < ; bit++)
{
flag = (crc & 0x 0) == 0x 0 ? true : false;
crc <<= 1;
crc |= (data & 0x 0) == 0x 0 ? (byte)1 : (byte)0;
data <<= 1;
if (flag) crc ^= polynom;
}
}
return crc;
}
Pin Assignment DATA Port
View on the ba kside of devi e.
1=TxD
4=RxD
2=GND

Version History
The software an be used for Waveplayer8 and the Waveplayer2-Modul.
Date Version Comment
29.08.16 3.4.3
•
New menu parameter “LCD ontrast”
28.07.16 3.4.1
•
“Auto Start” hanged to “Start Mode” with the new setting
“time ode”
•
“Devi e Mode” hanged to “Data Port Mode”
•
Broad ast Wave Format an be played
•
File names starts to rotate if they longer 16 hars
•
Repeat fun tion on +- buttons for files aktive
19.04.16 3.3.5
•
6 inputs for dire t song play aktive on board
17.02.15 3.3.0
•
24bit, 192kHz on Waveplayer2-Modul playable
04.11.15 3.1.3
•
Bugfix: Crash in time ode slave mode
20.10.15 3.1.0
•
Bugfix: Volume ontrol
10.09.15 3.0.0
•
Support for the new hardware platform
Table of contents