EasyManua.ls Logo

Marilyn DAR-01 - ASCII Serial Protocol

Marilyn DAR-01
37 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2015, Marilyn Systems, llc.
31
ASCII Serial Protocol
The ASCII serial protocol is specified in the “Mode” parameter of the [Serial] section. The communication
speed specified in the [BaudRate] parameter will be used. All characters are 8-bit, no-parity, 1-stop bit.
ASCII serial commands consist of an optional address, a two-character command mnemonic, and an
optional list of comma-separated parameters. Addresses and numeric parameters are specified as
unsigned integer values. Leading zeros are not necessary and will be ignored if included. All serial
commands are terminated with a “CR” (0x0D) character.
Address
Number from 1 to 255. If the address matches that set in the configuration file, the player will respond
to the following command. An address of 255 is regarded as a broadcast address and all devices on
the serial bus will respond to the following command.
Commands and Parameters
Mnemonic
Paramete
r
1
Parameter
2
Parameter
3
Parameter
4
Description
PL
Track
Play specified track
ST
Stop Playback
PA
Pause playback
NX
Skip to next track
PR
Skip to previous track
LP
First Track
Last Track
Loop tracks
PE
Track
Play
specified track to end
(uninterrupted)
BG
First Track
Last Track
Volume
Fade Rate
BGM mode loop. Fade rate and
volume will remain in effect until
BGM mode is stopped
VL
Volume
Set Volume (0 to 100)
FD
Fade Rate
Volume
Fade volume from current
level to
specified level at the specified rate
Table 24
Examples:
PL02 – Play track 2 on the DAR-01
ST
– Stop the DAR-01
BG1,10,100,20
– Loop tracks 1 through 10 in BGM mode. Volume = 100 and fade-time = 2
seconds.
03PL04 – Play track 4 on the DAR-01 with address 3.