Setting up shortcuts to audio
Forum rules
Read this before posting in this section
Read this before posting in this section
-
- Game DJ
- Posts: 2
- Joined: Tue Sep 16, 2008 7:16 pm
Setting up shortcuts to audio
I was wondering if there is a way to set shortcuts for various songs and audio files. If there is, how do you do it?
Re: Setting up shortcuts to audio
In-game help #3 (type 'hldj3') goes over it best, briefly, you'll want a bind that looks something like this (as an example):
The exact syntax is:
[key] is the shortcut key you want bound
[command relay key] is the key used internally by HLDJ to pass commands ("=" key by default)
'>' tells HLDJ that the file specified must match exactly (no searching performed)
'$' substitutes the path of your audio directory.
[path to file or folder] the path to your file or folder (since we used '$', it will be relative from your audio directory). The file extension is optional. If selecting a folder, add a '\' to the end of the path. Note: all spaces in the path must be replaced by the '*' character (HL doesn't handle spaces in binds very well).
<hldjsf> tells HLDJ the item to be selected is a file
<hldjsd> tells HLDJ the item to be selected is a directory
Some more examples, covering most of the tips above:The first three show different ways of selecting various audio files. The last is an example of switching the current audio directory.
Code: Select all
bind q "bind = >$\myaudiofile; hldjsf"
Code: Select all
bind [key] "bind [command relay key] >$\[path to file or folder]; [hldjsf OR hldjsd]
[command relay key] is the key used internally by HLDJ to pass commands ("=" key by default)
'>' tells HLDJ that the file specified must match exactly (no searching performed)
'$' substitutes the path of your audio directory.
[path to file or folder] the path to your file or folder (since we used '$', it will be relative from your audio directory). The file extension is optional. If selecting a folder, add a '\' to the end of the path. Note: all spaces in the path must be replaced by the '*' character (HL doesn't handle spaces in binds very well).
<hldjsf> tells HLDJ the item to be selected is a file
<hldjsd> tells HLDJ the item to be selected is a directory
Some more examples, covering most of the tips above:
Code: Select all
bind a "bind = >$\voices\funny*voice; hldjsf"
bind b "bind = >$\techno\rave.wav; hldjsf"
bind c "bind = >$\family*guy\peter; hldjsf"
bind d "bind = >$\voices\; hldjsd"
-
- Game DJ
- Posts: 2
- Joined: Tue Sep 16, 2008 7:16 pm
Re: Setting up shortcuts to audio
Thanks, that really helps a lot and it all seems so simple now that I think about it 

Re: Setting up shortcuts to audio
Any time, glad you understood it all!