[slinkelist] How to select sources and change volumes on the SONY STR-DE915 (long form)

Mike Zmuda leb-anon@ix.netcom.com
Fri, 19 Nov 1999 20:11:10 -0500


----=_e9tb3s87f2r341guti7m4bs07dmn11b8r9.MFSBCHJLHS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Since so many people asked, I thought I'd write this instructional doc. =
Please excuse the zaniness, and whatnot... Maybe we could add this to a =
FAQ or
something.

L8r, folks!

---------------------

Hey! Ken Geoffrion helped me with this. Nice guy. Anyway, here's what you=
 have to do:

In CDJ, go to View--> Options, click on the Devices tab, click ADD.

Ok, now you're adding a device. This will be the device that will control=
 your amp.

I called my amp, simply "AMP", but you can call yours anything you like. =
(I'm not too sure if CDJ is case sensitive, in which case AMP would be =
the
same as amp or AmP or whatever, but just to be on the safe side, call it =
something that's easy to remember and stands out. I like "AMP" just =
fine.)

Ok, type in AMP in the "Device Name" field.
Now, click "Browse For Device File" Seek to the first file I sent you: =
"de935sl.cde"
It has the device definitions in it (the codes that translate "vol+" into=
 00101001101 (or whatever).

Alright, Unless you have multiple Slink-es, leave the "Use Slink-E =
Number" number set to 1, otherwise, set it to the slink-e you want to use=
 to
control your amp.

Next, select which port the amp is connected to: That's using the =
"Connect to These Ports" check-boxes. If your amp is on Slink-e port 1, =
select that,
if port 2, select that, etc.... From what I understand, you CAN have =
multiple SL ports selected, but it's SERIOUSLY not recommended.

Alright. Once you've done all that, congratulate yourself, because 1: =
you've just set up the SLINK-E to talk to your amp, and 2: you're half =
way
(actually, a little more) done.

Next, click OK, to get back to the CDJ options window. Click on the =
"MAPS" tab at the top.=20

Click the "..." button, then seek to the second file I sent you: =
"RunLikeThis.txt"

You should see the definitions come up in the little window. That'll let =
you see what the definitions are (more on that in a sec).

Well, congratulate yourself a second time, pardner, 'cause you just =
created/imported a MAP file! (You should now be 99% done!)

If you just want to double check to see if it works, click OK until you =
get back to the regular CDJ screen. Click FILE, then Exit.

NOW, restart CDJ. Your amp should turn on and select the CD input source.

Ok. Them's the basics. That should cover the volume up/down and mute =
modes, selecting the CD source on the amp, and turning the amp on and off=
 when
CDJ is started and exited.

If you want to know how it works, or how to modify how CDJ controls your =
amp, read on, otherwise, good luck!

-----------

Still with me, eh?

Alright!

To customize CDJ to do whatever you want (ie, to select VIDEO INPUT 2 =
when you play MP3s [I'm assuming your computer is connected to Video =
Input 2 on
the amp, here. If not, replace whatever with whatever.])

Oh, yeah, one more assumption: your device name is AMP.

Ok, here's what you do:

Ok, we'll be using Wordpad or Notepad, or some small word processor... =
actually WORD will work here too, but it's just so huge and inelegant =
that it's
not worth the memory/real estate... anyway...)... Wow! I completely went =
off topic there! AND I'M STILL GOING! (Laugh! technical support was never=
 so
much fun!)

Remember when you introduced the SLINKE to your amp? (the first half of =
the top message?) Specifically, when you defined the device file name? =
Well,
find that file, and open it in notepad (or wordpad or whatever, from now =
on called "the editor"). Ok. See it has all those cool codes? Binary,
followed by some pseudo-english saying? ie: vol+?

Ok, that's what we're looking for.

We're looking to work with the map file too, though. We want to have both=
 files open at the same time, so, first, run your editor again (notepad,
wordpad, same difference.)

Now, in your editor, click "File --> Open" and load that map file (you =
remember: "RunLikeThis.txt"). Ok. Now, we should see both files open at =
the
same time. Great!

We're looking for the command :=20

	cdjr:using_player[mp3]

It'll be in the RunLikeThis.txt file. That's the command CDJ looks at =
before it plays MP3s. In it, we can make CDJ do anything we want... turn =
down
the lights, draw the shades, start a movie, ANYTHING (assuming you have =
the options... :)   ) Now, in the braces : "{}" you want to tell CDJ what=
 to
do.

In our case, you'll look at the DE935sl.cde file. Remember, we want the =
amp to change to VIDEO INPUT 2 when playing MP3s, so in the "{}"'s, we're
gonna type : "AMP:input_video_2"

Simple, no?

The whole line should look like this:

cdjr:using_player[mp3] {AMP:input_video_2}

What this does, piece by piece is:

 - cdjr : tells CDJ that this line of the map file is for it. (as opposed=
 to a comment line or something, or an in-line definition or something.}

 - using_player : tells CDJR (the above line/command) that this command =
affects how CDJ handles playing different media from potentially =
different
sources.

 - [mp3] : tells USING_PLAYER which player we're using (in this case, =
MP3, but it could be cd1, cd2, cd3....)

 - { : tells CDJ that this is the beginning of the stuff we want you to =
do when you start "USING_PLAYER" "MP3"

 - AMP : tells CDJ that the command is for the AMP (as opposed to the =
shades, the lights, or a CD player...)

 - INPUT_VIDEO_2 : this is the command to send to AMP when CDJ =
experiences a USING_PLAYER command to play MP3s!

 - } : tells CDJ that this is the END of the stuff we want it to do when =
it starts "USING_PLAYER" "MP3" (whew!)

Now, if you look at the map file I made, you can have CDJR/CDJ execute a =
number of commands for each instance... for example, when you click the
VOLUME DOWN button on the CDJ tool bar, it sends 5 AMP:vol- commands in a=
 row. Why? ...

Because when you simply hold the VOLUME DOWN button, it just turns the =
volume down one (1) very tiny notch, and I don't feel like clicking 1000+=
 times
to turn the volume down! Hence, I double, tripple, heck, even quintuple =
up on commands, but you can do yours differently. ALSO, you can use =
varying
commands! Don't just think that the commands all have to be of the same =
type, or even to the same device (in this case: AMP)

Also, not everything that CDJ can do is in that map file =
(RunLikeThis.txt). To find out more, check "HELP --> HELP TOPICS" then =
click "CDJ (from the
left hand menus) --> AUTOMATION INTERFACE --> COMMANDS AND RESPONSES"

There's the WHOLE list! Pretty impressive, huh? Imagine having CDJ fade =
in every song! (just issue a lot of VOL+s!)

Ok! That's it from me. I hope that helps. (I hope I wasn't too =
silly/confusing, but I think it might make this "hell-of-a-task" a bit =
more fun if you
laugh while you learn. It took me 2 months to get you to where you are =
today (assuming it works for you!)

One last note: Remember to SAVE any file you make modifications to! It's =
a REAL pain to make a ton of very cool modifications to a file, only to =
click
CLOSE, and not have the extensive work you've done be saved!

And in the same line of thought: once you've made modifications to a map =
file (in my case "RunLikeThis.txt" you should go into CDJ, click "VIEW =
-->
OPTIONS", click on the MAP tab, click RELOAD, make sure the revisions =
you've made appear, then click OK. You should then be all set.

Of course, to be safe, you'd close CDJ (to make sure it saves all its =
internal settings, then restart it, KNOWING that it should work!

(but that's just me.)

Ok! I'm done. I'm going to sleep! Hope that helps. Let me know if there's=
 anything else I can do for you!



Sincerely,

Mike Z.


Computers good at math? Then why is 99+1=3D0?

----=_e9tb3s87f2r341guti7m4bs07dmn11b8r9.MFSBCHJLHS
Content-Type: application/octet-stream; name=de935sl.cde
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=de935sl.cde

IyBTVFItREU5MzUgUy1saW5rIGNvbW1hbmRzLg0KDQpuYW1lPWFtcHNscw0KDQppbmNsdWRlPXNv
bnljcy5jZGUNCg0KVFlQRT1TTElOSw0KDQpwcmVmaXg9DQpzdWZmaXg9DQoNCiMgIE5vdGUgdGhh
dCB0aGVyZSBhcmUgbm90IGFueSBwcmVmaXgvc3VmZml4IHVzZWQuDQojICBUaGUgREU5MzUgcmVj
ZWl2ZXJzIHVzZSBtdWx0aXBsZSBwcmVmaXhlcy4NCiMgIEVhY2ggc2VjdGlvbiBsaXN0ZWQgYmVs
b3cgaGFzIHRoZSBwcmVmaXggaW5jbHVkZWQNCiMgIGluIHRoZSBpbmRpdmlkdWFsIGNvbW1hbmRz
Lg0KDQoNCg0KIyAgVGhlc2UgYXJlIHRoZSBkaXJlY3Qgc2VsZWN0aW9uIGNvZGVzIGZvciB0aGUg
dmFyaW91cyByZWNlaXZlciBpbnB1dHMuDQoNCjExMDAwMDAwMDEwMTAwMDAwMDAwMDAwMDAwMDA6
aW5wdXRfdHVuZXINCjExMDAwMDAwMDEwMTAwMDAwMDAwMDAwMTAwMDA6aW5wdXRfcGhvbm8NCjEx
MDAwMDAwMDEwMTAwMDAwMDAwMDAxMDAwMDA6aW5wdXRfY2QNCjExMDAwMDAwMDEwMTAwMDAwMDAw
MDEwMDAwMDA6aW5wdXRfbWQvZGF0DQoxMTAwMDAwMDAxMDEwMDAwMDAwMDAwMTEwMDAwOmlucHV0
X21kMi9kYXQNCjExMDAwMDAwMDEwMTAwMDAwMDAwMDEwMTAwMDA6aW5wdXRfdGFwZQ0KMTEwMDAw
MDAwMTAxMDAwMDAwMDEwMDAwMDAwMDppbnB1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JvbnRfYmFzc196ZXJv

----=_e9tb3s87f2r341guti7m4bs07dmn11b8r9.MFSBCHJLHS
Content-Type: text/plain; charset=us-ascii; name=RunLikeThis.txt
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename=RunLikeThis.txt

# NOTE: If you are making your own map file based on this one,=20
# 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 {AMP:power_on}
cdjr:startup {AMP:input_cd}
cdjr:using_player[cd1] {AMP:input_cd}
cdjr:using_player[cd2] {AMP:input_cd}
cdjr:using_player[cd3] {AMP:input_cd}
cdjr:using_player[cd4] {AMP:input_cd}
cdjr:using_player[cd5] {AMP:input_cd}
cdjr:using_player[mp3] {AMP:input_video_3}
cdjr:vol_up {AMP:vol+ AMP:vol+ AMP:vol+ AMP:vol+ AMP:vol+}
cdjr:vol_down {AMP:vol- AMP:vol- AMP:vol- AMP:vol- AMP:vol-}
cdjr:mute_on {AMP:mute_on}
cdjr:mute_off {AMP:mute_off}
cdjr:shutdown {AMP:power_off}
#cdjr:vol+ {AMP:vol+ AMP:vol+ AMP:vol+ AMP:vol+ AMP:vol+}
#cdjr:vol- {AMP:vol- AMP:vol- AMP:vol- AMP:vol- AMP:vol-}

# add some custom events here
#
# for example, if you had a spare VCR remote=20
# 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}
#=20
# 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=3Drock]
# cdj:playlist_clear
# cdj:playlist_mode[random]
# cdj:playlist_play
# }

----=_e9tb3s87f2r341guti7m4bs07dmn11b8r9.MFSBCHJLHS--