[slinkelist] play_dt message in Sony CDP-CX300

John Woycheese john@blaze.me.berkeley.edu
Mon, 24 Apr 2000 08:58:26 -0700


Olin-
Here's the VB code I use, which translates the disk number to and from the 
format used by Sony/CDJ.  You pass the number for disks 1-99, as you 
mentioned, but thereafter use a pseudo-hex. It's a little confusing, so see 
below.  I'm not sure if the same scheme works for AII (don't have a 
300-disk jukebox), but I assume that it does.

Cheers,
john

Function DiskNumber(DN) As String
     If DN <= 9 Then
         DiskNumber = "0" & Trim(Str(DN))
     ElseIf DN <= 99 Then
         DiskNumber = Trim(Str(DN))
     ElseIf IsNumeric(DN) Then
         DiskNumber = Trim(Hex(DN + 54))
     Else
         DiskNumber = Val("&H" + DN) - 54
     End If
End Function



>Message: 2
>Date: Sun, 23 Apr 2000 17:27:34 -0400
>From: shivers@ai.mit.edu
>To: slinkelist@nirvis.com
>Reply-to: shivers@ai.mit.edu
>Subject: [slinkelist] play_dt message in Sony CDP-CX300
>
>I've been writing little bits of software to frob my Sony jukebox (from
>Scheme). I looked in Nirvis/Device Files/Sony/cdslr.cde for the control codes.
>It defines this msg to play a specific disk/track:
>     01010000 dddddddd tttttttt :play_dt # play [disk id] [bcd track]
>I have used this successfully, via my Slink-e box, to play cds. However,
>the encoding for the dddddddd disk byte of the message is not specified.
>I tried BCD and it worked. But this means that you can't play a track higher
>than 99!
>
>So, how do I address CD's above slot 99?
>
>I haven't really found any functional jukebox software for Unix; really
>a drag. I've found several under-development systems. Has anyone had any
>luck?
>     -Olin