[slinkelist] RE: System Configuration for MP3's and CD's aka. HOW TO... ? Make cdj switch audio inputs in AMPs to current player

Michael Holopainen michael@laserle.fi
Fri, 18 Feb 2000 08:44:46 +0200


This is a multi-part message in MIME format.
--------------1E411AA360C8C11F0F41A5E9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

HOW TO... ? Make cdj switch audio inputs in AMPs to current player

1. In Options - Devices - Add : name it i.e.. MyAmp or whatever and for
device file -> ...Nirvis(slinke-program)-directory and somewhere in it's
sub directory is Device Files directory and it's sub directory Sony and
there ampsls.cde-file
...Nirvis\Device Files\Sony\ampsls.cde
(  ampir.cde = AMP IR CODE
ampslr.cde = AMP S-Link Receive Code
ampsls.cde = AMP S-Link Send Code )
2. Now you have device in cdj called MyAmp (of something)

3. To control that device you need to edit ...Nirvis\CDJ\maps.txt (it's
good
idea to move that file to another location AND tell cdj it's new
location in
options-maps so you don't overwrite it when upgrading cdj) you need to
edit
the file with notepad or some other writing tool because cdj BETA does
not
yet allow you to edit the file in cdj (you can view it).
maps.txt works like :
cdrj:EVENT[EventDetail] { ACTION[ActionDetail] ; 2ndAction ; 3rd...} ie.
you
press mute on your amp, that is an event, you can write code(actions)
that
is performed when cdj detects that event.  (everything from
sony-slink-devices is send to s-link, you can ask you amp "What is your
current volume setting" and it will reply)
ie. cdjr:using_player[CD1] {myamp:input[020200]} means that when event =
CD1
starts playing something cdj performs action = of sending command
"input[002200]" to device myamp.
CD1 is identified in Players, (device named)mp3 is integral player of
cdj,
in addition to player you can create additional devices in Device Files
and
point to then with given name.
read the map.txt and ...Sony\ampsls.cde file and figure out the syntax
also ampsls.cde-file contains the input source codes ie. VCR21100
finally the answer :
edit in maps.txt-file the following row : "cdjr:using_player[mp3] {}" to
cdjr:using_player[mp3] {myamp:input[######]}
where :
myamp is the name you have given to your amp described in
Options-AddDevice-menu
:
input[#####] is the command send to myamp (converted to binary code
according to Sony/ampsls.cde) = tells sony amp to switch audio source to
######
##### is numeric code for audio source (read the ampsls.cde)
NOTE I don't have the cdj files here with me so I wrote that out of my
(bad)
memory if that don't work try chancing the syntax i.e.. 
myamp[input:020200]
(cd in sony amp)
* michael
good luck

P.S. S-link & cdj together is absolutely amazing. Sony should teach
microsoft how to build networks, or why bother they wouldn't(couldn't)
learn anything. s-link work 1000 times better than ms windows network,
I'm thinking of taking out the network cards and building computer
network using sony s-link on nirvis slinke ;-) That was a joke, but sad
thing is it would probably work better than ANY ms product


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
--------------1E411AA360C8C11F0F41A5E9
Content-Type: text/plain; charset=us-ascii;
 name="maps.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="maps.txt"

# NOTE: If you are making your own map file based on this one, 
# please use a new name for the file so it does not get overwritten
# in a new installation

# some standard CDJ events
# put your device commands inside the brackets

cdjr:pre_startup {}
cdjr:startup {}
cdjr:using_player[cd1] {DE825:input[02]}
cdjr:using_player[cd2] {}
cdjr:using_player[cd3] {}
cdjr:using_player[cd4] {}
cdjr:using_player[cd5] {}
cdjr:using_player[mp3] {DE825:input[15]}
cdjr:vol_up {}
cdjr:vol_down {}
cdjr:mute_on {DE825:input[00000110]}
cdjr:mute_off {DE825:input[00000111]}

# add some custom events here
#
# for example, if you had a spare VCR remote 
# with a device file loaded and defined for it,
# you might want to map the stop and play buttons
# to control the CDJ playlist like this:
#
# vcr:play {cdj:playlist_play}
# vcr:stop {cdj:playlist_stop}
# 
# if you wanted to be really fancy, you could make CDJ
# automatically play a certain genre of music at the push
# of the '0' button on the remote:
#
# vcr:0
# {
# cdj:playlist_stop
# cdj:search_mode[track]
# cdj:search[kw=rock]
# cdj:playlist_clear
# cdj:playlist_mode[random]
# cdj:playlist_play
# }


--------------1E411AA360C8C11F0F41A5E9--