LYNGDORF CD-2 Red Book CD Player User Manual

June 14, 2024
LYNGDORF

MODEL CD-2
RED BOOK CD PLAYER
EXTERNAL CONTROL MANUAL

Introduction

The purpose of this document is to describe how the external control interface of the device works.

Serial Settings

The serial port settings are always 8 data bits, no parity and one stop bit with a baud rate of 115200.

Commands and Requests

All commands and requests start with the ‘!’ character.
Commands end with a combination of the Carriage Return character (ascii 0x0D, referred to as in this document) and Line Feed (ascii 0x0A, ). Often, a single is used, but because different systems handle these characters differently, it is also allowed to end with , or even . In this document, it is expected to be , but all of these combinations are allowed instead.
Requests end with the character ‘?’ and (or any combination as above).
Commands can have parameters, these are enclosed in parenthesis.
Replies to a request are formatted as the request with the reply values as parameters.
Replies always use the combination of line-end characters.
Commands and requests are not case sensitive. In addition, it is possible to subscribe to status changes from the device. In this situation, whenever a status has changed (new state, new track etc.) the device will send a status. This status is formed exactly like a reply to a request, except it is followed by the character ‘!’ before the to indicate, that this is an asynchronous message, not a reply.

!COMMAND Command
!COMMAND(param) Command with parameter
!REQUEST? Request
!REQUEST(reply) Reply to a request
!REQUEST(status)! A status, which has changed

Commands and requests which are malformed or has invalid parameters will just be ignored.
If a command or request is correct but followed by garbage before the line end chracter(s), the command or request will be executed and the garbage ignored.

Requests

The following requests are available on the CD-2:

Request name Action Reply
!VER? Requests the SW version in the CD-2 !VER(1.23a)

If the version is 1.23a
!STATE?| Requests the current state.| One of:
!STATE(OFF)
!STATE(OPENING)
!STATE(OPEN)
!STATE(CLOSING)
!STATE(NODISC)
!STATE(DISCERROR)
!STATE(READING)
!STATE(PLAY)
!STATE(STOP)
!STATE(PAUSE)
!STATE(WIND)
!STATE(REWIND)
!TRACK?<LF

| Requests the number of the track currently being played.| From
!TRACK(1) to
!TRACK(99) or
!TRACK(-)
if no track is currently being played
!NOFTRACKS?<CR

| Requests the number of tracks on the current disc.| From
!NOFTRACKS(1) to
!NOFTRACKS(99) or
!NOFTRACKS(-) if there is no current disc.
!TIME?

| Requests the elapsed time of the playing track.| Reply format:
!TIME(1:23) or
!TIME(-0:01) where the ‘-‘ indicates, that the CD-2 is currently in the pause between tracks, counting down to start.
---|---|---
!REMTIME?< LF>| Requests the remaining time of the current track.| Reply format:
!REMTIME(3:21) or !REMTIME(-0:01)
where the ‘-‘ indicates, that the CD-2 is currently in the pause between tracks, counting down to start.
!PLAYMODE?<CR >| Requests the current play mode.| !PLAYMODE(m), where m is one of:
0 = Normal play mode
1 = Repeat disc
2 = Repeat track
3 = Random play
!TRACKNAME?| Requests the trackname from cd-text info for

the current track.

| !TRACKNAME(Name Of Track)
or !TRACKNAME() if no data is present for the track name.
!TRACKARTIST?< CR>| Requests the trackartist from cd-text info for

the current track.

| !TRACKARTIST(Artist Name) or
!TRACKARTIST() if no data is present for the track artist.
!DISCNAME? | Requests the discname from cd-text info for

the current disc.

| !DISCNAME(Name Of Disc) or
!DISCNAME() if no data is present for the disc name.
!DISCARTIST?<CR >| Requests the discartist from cd-text info for the current disc.| !DISCARTIST(Artist Name) or
!DISCARTIST() if no data is present for the disc artist.

Commands

The following commands are available on the CD-2.

Command name Command name Action
!OFF Turns the CD-2 off.
!ON Turns the CD-2 on.
!PWR Toggles power on the CD-2. Same functionality as the standby

button on the front.
!EJECT| Opens or closes the tray. Same functionality as the eject button on the front.
!PLAY| Play.
!PAUSE| Pause.
!PLAYPAUSE| Toggles between play and pause. Same functionality as pressing the rotary button on the front.
!STOP| Stop.
!PREV| Requests the previous track. If the disc is currently at track 1, the last track on the disc will be selected. Same behavior as turning the front rotary knob counterclockwise.
!NEXT| Requests the next track. If the disc is currently at the last track, the first track on the disc will be selected. Same behavior as turning the front rotary knob clockwise.
!REWIND| Start scanning backwards.
!WIND| Start scanning forwards.
!STOPWIND| Stop the scanning started by one of the above commands.
!DIGIT(d)| Corresponds to pressing the digit d on the remote in order to select a specific track.
!PLAYMODE(m)| Select playmode, where m is one of:
0 = Normal play mode
1 = Repeat disc
2 = Repeat track
3 = Random play
!DISPMODE(m)| Selects display mode, where m is one of:
0 = Elapsed time, no CD-Text info.
1 = Remaining time, no CD-Text info.
2 = Elapsed time, CD-Text info active.
3 = Remaining time, CD-Text info active.
!SAMPLERATE(r)| Selects a new sample rate for the output, where r is one of:
0 = 44.1 kHz
1 = 48 kHz
2 = 96 kHz
3 = 192 kHz
!GAIN(g)| Selects a new value for the analog output gain. Possible values for g is from -120 (corresponding to attenuating 12 dB) and up to 0 (no attenuation). Only steps of 5 (0.5 dB) is possible.
---|---
!SUBSCRIBESTATE| Start subscription mode for the state of the CD-2. Will send information whenever the state changes.
!UNSUBSCRIBESTATE| Deactivates state subscription mode.
!SUBSCRIBETRACK| Start subscription mode for track numbers.
Will send information whenever a new track number is available
!UNSUBSCRIBETRACK| Deactivates track subscription mode.
!SUBSCRIBETIME| Start subscription mode for time. Will send information whenever new time info is available. If the current display mode displays remaining time, then the time send from the CD will also be remaining time.
!UNSUBSCRIBETIME| Deactivates time subscription mode.
!SUBSCRIBEDISCTEXT| Activates disc text subscription mode. Whenever a new disc is inserted, the disc name and disc artist will automatically be send.
!UNSUBSCRIBEDISCTEXT | Deactivates disc text subscription mode.
!SUBSCRIBETRACKTEXT | Activates track text subscription mode. Whenever a new track is being played, track artist and track name will automatically be send.
!UNSUBSCRIBETRACKTEXT | Deactivates track text subscription mode.

RJ 12 PIN OUT

PIN OUT DIAGRAM FOR RS232 CABLE

LYNGDORF CD-2 Red Book CD Player - cable

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

LYNGDORF User Manuals

Related Manuals