| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Slink-e / CDJ Discussion Archive #3

Re: Use IR Remote

Posted By: Richard Trimble <rjt4re@a...>
Date: 3/29/1999 12:33p.m.

In Response To: Use IR Remote (Tim Fraley)

Tim,

I assume you've read the help files relating to the Automation Interface, Using Event Maps and Adding Device Files, and have also taken a look at the MAP.TXT file Colby has included with CDJ. All these elements come into play when one wants to setup CDJ to be controlled by remote.

To start you'll need to pick a physical remote with which to control CDJ. For me the most obvious one was the Sony CD player remote. Since none of my changers use address '3', I choose that as the basis for CDJ control. When I want to control CDJ, all I need do is move the slide swich to '3' and I'm in "CDJ Mode" It's also very convenient since the device files for the Sony Changers already exist, with only a minor change needed to make the unique device file for the #3 player. If you go into the Device Files directory where CDJ is installed you should find the file for 'cdpcx200ir.cde', which is the IR codes for the Sony Changers. Using a text editor (Notepad) you'll need to modify the device file so it will respond to the Address 3 IR commands. This is easily done by changing the IR suffix as follows:

Change from:

prefix=
suffix=10001 #1
suffix=10011100 #2
suffix=10001010 #3

To:

prefix=
suffix=10001010 #3
suffix=10001 #1
suffix=10011100 #2

Save the modified file under a unique name, like 'cdpcx200ir3.cde', in the same directory. Now you will need to start CDJ and add this new device into CDJ. When in CDJ go to View/Options and select the Devices tab and click on ADD. Enter the device name by which CDJ will identify the device. In this example I choose 'cdpir3' (note use all lower case.) Next click on the 'Browse for Device File' button and navigate to the directory where you saved 'cdpcx200ir3.cde'. Click on the file name and then OPEN, after which the file will appear in the dialog box. The last item is to check off IR0 under 'Connect To These Ports'. Click on OK and the device should now appear in the window. Click on OK again to exit from the Options dialog. With the Slink-e Data window open and the Sony CD Changer remote set to '3' you should now be able to point the remote at the Slink-e press a button and see the command recognized by CDJ (ie. pressing power on the remote should appear as 'cdpir3:power' in the slink-e window.)

Having established the IR communications(device)path with CDJ you now have to associate CDJ commands with each IR command (event). This is done with the Event Mapping capability and Automation Interface commands setup up in CDJ. Here you will 'map' a CDJ command (or sequence of commands) to some or all of the IR commands for the IR device we just defined to CDJ. If you look in the cdpcx200ir3.cde file you'll see all the predefined IR commands, each of which is available to initiate a CDJ command(s) through the use of the MAP.TXT file. Following is a partial set of mappings I created in the MAP.TXT file to control CDJ.

cdpir3:stop {cdj:playlist_stop}
cdpir3:play {cdj:playlist_play}
cdpir3:pause {cdj:playlist_pause}
cdpir3:+ {cdj:playlist_next}
cdpir3:- {cdj:playlist_prev}
cdpir3:repeat {cdj:playlist_loop[toggle]}
cdpir3:|<< {cdj:playlist_pointer[top]}
cdpir3:>>| {cdj:playlist_pointer[bottom]}
cdpir3:clear {cdj:playlist_clear}
cdpir3:check {cdj:playlist_optimize}
cdpir3:block {cdj:playlist_mode[manual]}

cdpir3:shuffle
{cdj:playlist_stop
cdj:playlist_shuffle
cdj:playlist_optimize
cdj:playlist_pointer[top]
#cdj:playlist_play
}

cdpir3:program
{cdj:playlist_stop
cdj:playlist_clear
cdj:playlist_mode[random]
cdj:playlist_optimize
cdj:playlist_pointer[top]
#cdj:playlist_play
}

# Direct Playlist Selection

cdpir3:1
{
cdj:playlist_stop
cdj:playlist_clear
cdj:playlist_

Responses To This Message

| Read Responses | Return to Index | Read Prev Msg | Read Next Msg |

Password:

Slink-e / CDJ Discussion Archive #3 is maintained by slinke-bbs-owner@nirvis.com with WebBBS 3.21.