Slink-e / CDJ Discussion Archive #3
Re: Use IR Remote
Posted By: Richard Trimble <rjt4re@a...> In Response To: Use IR Remote (Tim Fraley)
In Response To: Use IR Remote (Tim Fraley)
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:
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.
# Direct Playlist Selection