Waveplayer 8 User Manual

Page 1
Table of Contents
File Format...........................................................................................................................................2
SD Cards...............................................................................................................................................2
Playing Parameter.................................................................................................................................2
Main and Channel Volume Settings.....................................................................................................2
Configuration Menu.............................................................................................................................3
Start Mode........................................................................................................................................3
Baud Rate Serial..............................................................................................................................4
Data Port Mode................................................................................................................................4
Device ID.........................................................................................................................................4
LCD contrast....................................................................................................................................4
LTC Timecode......................................................................................................................................4
RS232 Protocol.....................................................................................................................................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 Calculation..............................................................................................................................7
Software Update...................................................................................................................................7
Connections..........................................................................................................................................7
Appendix..............................................................................................................................................8
CRC calculation example: Visual Studio .NET C#.........................................................................8
Pin Assignment DATA Port.............................................................................................................8
Version History................................................................................................................................9
Page 2
File Format
The Waveplayer is using the multichannel wav format. All tracks are saved in one file. This is very comfortable, because you don't need to handle a lot of mono files. Some audio software will be able to create multichannel files. But the recommend software to be used for this task is the freeware „Audacity“. Why? It is free, well tested with Waveplayer and it is simple to do.
Here a very brief instruction:
1. Start the software.
2. Create as many tracks as you need (1-8).
3. Fill the tracks with you content.
4. Export you work into a file (WAV PCM , 16 or 24 bit)
5. Done!
Note: There is a very important setting edit->preferences->import/export. This has to be set to „custom mix“. If this is not done, you will get stereo or mono files all the time.
SD Cards
Cards of any size can be used. The only requirement is to format the card to FAT/FAT32 with the minimal cluster 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 special tool for that. For example: Fat32 Format
Playing Parameter
Waveplayer is playing wav files from 1-8 channels in 16bit or 24 bit. The supported sample frequencies are 32kHz, 44,1kHz and 48kHz.
Main and Channel Volume Settings
By repeatedly pressing the „Play“ button, while the device is playing a file, you can access the main and channel volume settings. You can go backward by pressing the „Pause“ button, if you want to go back to other parameters in the list. The „+“ and „−“ button will change the volume in stages of
0.5dB. The individual settings are saved when changing to the the next („Play“) or to the last („Pause“) parameter.
Page 3
Configuration Menu
By pressing the „Menu“ button you will reach the configurations menu. The „+“ or „−“ button will change the available parameter. If you want to change a parameter press „Play“. Now you are in the edit mode. The cursor is blinking. Change the parameter with the „+“ or „−“ button. You can save the setting by pressing the „Play“ button. Press „Stop“ to discard the changes.
Start Mode Play Mode Backlight Mode Baudrate Serial Data Port Mode Device ID
manual single play off 1200 standard 0...254
auto continuous play auto off 1min 2400 bus master
timecode 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 contrast
1-10
Start Mode
Manual → Songs will be played by hand
Auto → If this parameter is set to on, the Waveplayer will automatically start to play after power is on. There is a requirement to make this function work correctly. We need a playable song at position 1. What is position 1? After the Waveplayer is switched on it will sort through all files of the root directory alphabetically and will display the first. This is the file in position 1. If this file not playable auto play will do nothing!
Timecode → If a valid timecode is received the player will start playing automatically.
If the timecode is missing for more than 5s the player will stop.
Page 4
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 protocol via RS232 is used. Values between 1200 and 256000 baud are possible.
Data Port Mode
The normal setting for using a single device is „standard“.
If you plan to use more than one device than both modes are of interest.
In „standard“ mode the Waveplayer responds only to commands which have the same ID. Commands which have not the same ID will be forward to the next device. Commands with the ID=255 are broadcasts and will be responded and forwarded to the next device in the chain.
In „bus master“ mode the buttons „Stop, Pause, Play“ will be forwarded via broadcast to the other devices. This way you can use more than one device via one keypad. When „Start Mode“ is „auto“ then the device will simulate a play command, at power on, to start all other connected devices too. In „Play Mode“ „song loop“ a play command will be send at start of every new loop cycle to resync the other devices. In „bus master“ mode no telegrams will be forwarded.
Device ID
If you plan to use the data port of the Waveplayer this ID could be of interest. You can set this value from 0 to 255. If the second parameter of a command matches the device ID, the command will be executed and you will get an answer. Note: The 255 is the broadcast ID of all devices. All devices will execute this command but never get a response.
LCD contrast
Set the contrast of the LCD display.
LTC Timecode
The device has a LTC timecode input and output. The output displays the current play time of the running track. The timecode is using a 25f/s format. The timecode input is permanently active. Is a valid signal on the input detected, the current playtime will fit to the input time. If you want to use the timecode input, the datas on card must not be fragmented!
Page 5
RS232 Protocol
Command Format
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 xx xx xx CRC-8
KEY Command
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
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 command requires to have numbers in front of the song names. These numbers need to have two digits. (01 first song 02 second song, 03 third, ...)
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 1 00=STOP 0 CRC-8
01=PLAY (01 ...)
...
99=PLAY (99 ...)
SET VOLUME Command
The volume is calculated as follows: Volume = Parameter2 * -0.5dB
Example: 0 = 0dB (max), 255 = -127,5dB(min)
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 2 0=MAINVOLUME 0-255 CRC-8
1-8=CH VOLUME 0-255
CHANGE VOLUME Command
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 4 0=MAINVOLUME 0=+0.5dB CRC-8
1-8=CH VOLUME 1=-0.5dB
Page 6
SAVE VOLUME Command
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 3 1 0 CRC-8
GET TRACK COUNT Command
The command is sent with parameter 1 = 0. In response you will see the count of playable tracks. Only a track with two digits in front will be counted.
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 5 track count 0 CRC-8
GET TRACK NAME Command
The command is sent with parameter 1 = 0. In the response you will see the length of the track name. The response is extended exactly this count, because the track name is append to the answer.*
Start Value(fix) Device ID Command Parameter 1 Parameter 2 Checksum
0x86 0...255 6 character cout 0 CRC-8
SET TIME Command
The parameters are hexadecimal values! The command must be send only if the player is in stop or pause mode! Otherwise unpredictable events can occur.
Start Value Device ID Command P1 P2 P3 P4 Checksum
0x88 0...255 10 hours minutes secondes frames CRC-8
GET TIME Command
The command is sent with parameter 1-4 = 0. In the response you will get the current values.*
Start Value Device ID Command P1 P2 P3 P4 Checksum
0x88 0...255 11 sb|hours minutes seconds frames CRC-8
sb = sync bit (Bit7) 1 = Device is running in sync with received timecode.
Response Format
Start Value(fix) Device ID Status Checksum
0x84 0...255 0=OK CRC-8
1=Track not found
2=unknown command
3=CRC error command
4=CRC error response**
*) This command will get a response 0x84 only if a CRC error occurs. **) This means the error of a forwarded answer.
Page 7
CRC Calculation
The CRC is calculates all bytes of the message, whereas the CRC itself is 0. The result of this calculation has to be the replacement for the initial CRC value (0) before sending. To check if the message is valid at the other side, calculate 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 card.
2. Insert the card in a running device.
3. If more than one file on card use the +- keys and go to the file.
4. The player will recognize the update and offer to press „Play“.
5. After starting the update procedure you will see „Burning done!“ after a few seconds. Additionally the info how much pages are burned.
6. Restart the device and the update is finished.
Connections
8x audio out (unbalanced, 0dBu maximum Level, 10kOhm output resistance)
LTC timcode in/out
Data port for RS232 protocol
Page 8
Appendix
CRC calculation example: Visual Studio .NET C#
byte crc_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 < 8; bit++) { flag = (crc & 0x80) == 0x80 ? true : false; crc <<= 1; crc |= (data & 0x80) == 0x80 ? (byte)1 : (byte)0; data <<= 1; if (flag) crc ^= polynom; } }
return crc;
}
Pin Assignment DATA Port
View on the backside of device.
1=TxD 4=RxD 2=GND
Page 9
Version History
The software can be used for Waveplayer8 and the Waveplayer2-Modul.
Date Version Comment
29.08.16 3.4.3
New menu parameter “LCD contrast”
28.07.16 3.4.1
“Auto Start” changed to “Start Mode” with the new setting “timecode”
“Device Mode” changed to “Data Port Mode”
Broadcast Wave Format can be played
File names starts to rotate if they longer 16 chars
Repeat function on +- buttons for files aktive
19.04.16 3.3.5
6 inputs for direct 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 timecode slave mode
20.10.15 3.1.0
Bugfix: Volume control
10.09.15 3.0.0
Support for the new hardware platform
Loading...