HLDJ loads but no sounds play, even the samples dont work

Help with using HLDJ
Post Reply
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

HLDJ loads but no sounds play, even the samples dont work

Post by smiddeh »

Hi, i'm trying to make HLDJ work on my PC (Windows 7).
Running Counter Strike Source.

I read the manual and the forum sticky, I've done everthing right and it seems to work fine, but when i toggle the audio button, the music doesn't start.

This is what I see when i Load CS:S:

Hud element 'CNotificationQueuePanel' doesn't have an entry 'NotificationQueuePanel' in scripts/HudLayout.res
Unknown command "hldjsf" IS THIS A PROBLEM?
Host_WriteConfiguration: Wrote cfg/hldj_cmd_a.cfg

HLDJ successfully loaded!
Quick-Start Guide:
1 ) enter 'la' to display the audio list.
2 ) enter the number of the file to load.
3 ) press the END key to start/stop audio.

Basic Commands:
hldjn, hldjp, hldjr - loads the next/previous/random audio file.
hldjca, hldjcd - displays the current audio file/directory in console.
hldjsca, hldjstca - displays the current audio file in public/team chat.
hldjsq, hldjqa - stops HLDJ and quits the current game/quits both.

[enter 'hldj1' for more commands/help]
[enter 'hldj' to display this guide again]

I Notice it said "Unknown command "hldjsf" is that my problem??

When i type "la" in console, the songs are displayed properly, i choose one of them and it says:

Host_WriteConfiguration: Wrote cfg/hldj_cmd_b.cfg
Loaded : sample_src

I've tried with my songs and with samples too, but it doesnt work.

When i push HOME it enables my voice. But all i hear is myself talking. I have no sound.
If i type bind home. It says home is not bound.
If i type hldj_playaudio in console, it does nothing.

The voice_input.wav file gets created when i run HLDJ and it updates that file when i change the sounds. I play it in windows media player and it runs fine.
The file get created here: C:\Program Files (x86)\Valve\Steam\SteamApps\myemailaddress\counter-strike source

I also tried deleting my cstrike\cfg\config.cfg (by removing all text and then making it read only). Made no difference.

Then i uninstalled CS:S and reinstalled it. Still didnt work.

What could be the problem?

1) Does HLDJ launch the game correctly for you?
Yes

2) Does "HLDJ Loaded Successfully" appear in console on starting the game (with no errors)?
I think so.

Hud element 'CNotificationQueuePanel' doesn't have an entry 'NotificationQueuePanel' in scripts/HudLayout.res
Unknown command "hldjsf" IS THIS A PROBLEM?
Host_WriteConfiguration: Wrote cfg/hldj_cmd_a.cfg

HLDJ successfully loaded!
Quick-Start Guide:
1 ) enter 'la' to display the audio list.
2 ) enter the number of the file to load.
3 ) press the END key to start/stop audio.

Basic Commands:
hldjn, hldjp, hldjr - loads the next/previous/random audio file.
hldjca, hldjcd - displays the current audio file/directory in console.
hldjsca, hldjstca - displays the current audio file in public/team chat.
hldjsq, hldjqa - stops HLDJ and quits the current game/quits both.

[enter 'hldj1' for more commands/help]
[enter 'hldj' to display this guide again]

3) What is the console output after selecting a song, or issuing other HLDJ commands such as "hldj_next"?
As i wrote before, it says:
Host_WriteConfiguration: Wrote cfg/hldj_cmd_d.cfg
Loaded : sample_src

4) After loading one of the sample audio files, perform a search of your Steam directory (without stopping HLDJ) for the file "voice_input.wav" - does it show up, and if so, where?
Yes, it shows up into:
C:\Program Files (x86)\Valve\Steam\SteamApps\myemailaddress\counter-strike source

5) Does voice normally work for you? If not, or you do not have a mic, have you remembered to set up any applicable options in your operating system and/or the game?
Yes, i always use microphone in game and it always works.

Any help available?
Thank you!
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by Renegade »

HLDJ appears to be functioning normally, what I'd suggest is making sure the server you are on allows audio over mic. The best way to do this is by creating your own local server and enabling the proper cvars (see the sticky for instructions on sv_allow_voice_input_from_file) and testing with the sample audio files or ones you've generated from the HLDJ converter.

receiving "unknown command "hldjsf"" in console is normal.

In the odd case where the HLDJ aliases may have been overwritten by some other scripts you have, you can try playing voice_input.wav manually. Confirming it's been generated after loading a song, then enter the following commands into console:

Code: Select all

voice_inputfromfile 1; voice_loopback 1; voice_forcemicrecord 0; voice_modenable 1; voice_enable 1; +voicerecord
(if even this does not start audio playback then it is indeed something wrong with the game or server settings)
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by smiddeh »

Renegade wrote:HLDJ appears to be functioning normally, what I'd suggest is making sure the server you are on allows audio over mic. The best way to do this is by creating your own local server and enabling the proper cvars (see the sticky for instructions on sv_allow_voice_input_from_file) and testing with the sample audio files or ones you've generated from the HLDJ converter.

receiving "unknown command "hldjsf"" in console is normal.

In the odd case where the HLDJ aliases may have been overwritten by some other scripts you have, you can try playing voice_input.wav manually. Confirming it's been generated after loading a song, then enter the following commands into console:

Code: Select all

voice_inputfromfile 1; voice_loopback 1; voice_forcemicrecord 0; voice_modenable 1; voice_enable 1; +voicerecord
(if even this does not start audio playback then it is indeed something wrong with the game or server settings)
THANKS HEAPS FOR YOUR EMAIL, Much appreciated mate!!

I just did a full uninstall of CS:S. I disabled the steam cloud. removed all local settings. Deleted the full Counter Strike Source folder. deleted the blob files. uninstalled the game. then reinstalled.
Everything was set back to standard install. I opened steam and console was not enabled again and everything was default again.

Then i ran HLDJ. Then i created my own local server to test HLDJ. It started up fine again. When i change songs, the voice_input.wav is created. When i try playing it manually in windows media player the song plays. when i change songs, the song does change. I play it manually and it has changed.

I toggle the F11 (audio play) button and my mic is activated but all i hear is my voice. No music.

Then when i typed "voice_inputfromfile 1; voice_loopback 1; voice_forcemicrecord 0; voice_modenable 1; voice_enable 1; +voicerecord" in console, again it enabled the mic, but no sound. I just hear my voice.

So i dont know what is wrong. I have no custom scripts. Its a plan fresh cs:s install.

I am running Windows 7 64bit. Running the 64bit version of HLDJ.

Note: I also have HLSS installed. Maybe thats messing with it??
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by smiddeh »

Interesting.
In my local server, if it doesnt recognise the command "sv_allow_voice_input_from_file"!! Is that my problem maybe??

] sv_allow_voice_input_from_file 1
Unknown command: sv_allow_voice_input_from_file
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by smiddeh »

Actually i think its fine.
I saw this in console on my local server:

voice_inputfromfile is set to "1"

known command: voice_in
] voice_inputfromfile
"voice_inputfromfile" = "1" ( def. "0" )
- Get voice input from 'voice_input.wav' rather than from the microphone.
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by smiddeh »

I tried this too:
To see whether it may be a problem with the game, try the following without using HLDJ at all:
1. Copy-paste the sample file you downloaded into the same directory where "voice_input.wav" appeared and rename it "voice_input.wav"
2. Start the game, create a local game/server (with voice_inputfromfile 1)
3. Enter the following into console:

Code: Select all
voice_modenable 1; voice_forcemicrecord 0; voice_inputfromfile 1; voice_loopback 1; +voicerecord

4. Do you hear the audio playing?
No I dont. I still only hear my own vpice in the mic. I hear no sound.

Then i keep CS:S open. Go to my cs:s folder: C:\Program Files (x86)\Valve\Steam\SteamApps\myemailaddress\counter-strike source and run the voice_input.wav in windows media player and it plays fine.

Wierd. I dont know how my CS:S can have issues. when its a plan vanilla fresh install....



i also did this:

Finding the game audio directory

Normally, for most games, it is not necessary for you to find the Game Audio Directory (not to be confused with the Game Directory or Audio Directory!), as HLDJ will do this for you; however, there is a special exception for third-party Source mods (those contained in the "SourceMods" directory). These games will require that you fill out the "Use alternate Game Audio Directory" field in Setup. To find the Game Audio Directory for your game, perform the following steps:
1) Launch the game whose game audio directory you wish to find.
2) Set the variable "voice_recordtofile" to "1" (type and enter "voice_recordtofile 1") into the console.
3) Join a server (you can just create your own local server).
4) Once you are in the game, activate your microphone for a couple seconds (or you can enter "+voicerecord; wait; wait ;wait; -voicerecord" into console). The game will record the microphone input to the files "voice_decompressed.wav" and "voice_micdata.wav".
5) Set "voice_recordtofile" back to "0" (type and enter "voice_recordtofile 0") and then close the game.
6) Open up your Steam directory and search it for either of the above mentioned files (use Windows search as described in Finding the game directory).
7) When you find the file, its containing folder will be the Game Audio Directory (the folder that is listed under the "In Folder" column of the search window). You can now delete the created files if you no longer need them.
As described in the glossary definition, the Game Audio Directory of a 3rd-party Source mod will usually be the parent folder of the Source game that the mod has based its content off of. Listed below are the Game Audio Directories of some common third-party Source mods.

And my "voice_decompressed.wav" and "voice_micdata.wav" files are created in the same dir that the voice_input.wav exists:
C:\Program Files (x86)\Valve\Steam\SteamApps\myemailaddress\counter-strike source

So that dir is fine...
Killdozer
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 3:52 pm

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by Killdozer »

I am also having a problem almost identical to this one :(
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by Renegade »

smiddeh wrote:"voice_inputfromfile" = "1" ( def. "0" )
- Get voice input from 'voice_input.wav' rather than from the microphone.
Double-check the sticky for the exact syntax, it is "sv_allow_voice_from_file 1" (the one in your post is the client cvar which is controlled by HLDJ, so you never need to change it). Normally this defaults to 1 anyways. Other than that, you might try disabling any other scripts you have. Also to fully remove any backups by Cloud, you'll want to also delete the "userdata" folder located in your Steam installation.
smiddeh
Game DJ
Posts: 6
Joined: Fri Apr 15, 2011 9:39 am

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by smiddeh »

Renegade wrote:
smiddeh wrote:"voice_inputfromfile" = "1" ( def. "0" )
- Get voice input from 'voice_input.wav' rather than from the microphone.
Double-check the sticky for the exact syntax, it is "sv_allow_voice_from_file 1" (the one in your post is the client cvar which is controlled by HLDJ, so you never need to change it). Normally this defaults to 1 anyways. Other than that, you might try disabling any other scripts you have. Also to fully remove any backups by Cloud, you'll want to also delete the "userdata" folder located in your Steam installation.
Thanks for the suggestions!!

I have been able to set sv_allow_voice_from_file 1 now on my locally created server. I swear this option was not there before. Anyway I set that.
Still doesnt work. Same issue mic works but no sound file is played.

I dont have any other scripts. Im running vanilla install config. Only thing i havent tried is deleting my userdata (but I already disabled all games using the cloud) so i dont think that will help.

One thing that maybe an issue is that my PC runs RealTek HD audio manager. Maybe something in there is messing it up? but the mic works fine in game. So i dont think so??
Renegade
HLDJ Developer
HLDJ Developer
Posts: 1500
Joined: Sat Mar 01, 2008 2:02 pm
Contact:

Re: HLDJ loads but no sounds play, even the samples dont wor

Post by Renegade »

We've confirmed that the update for Team Fortress 2 actually affects all Source games, and this is the problem you are experiencing. You'll need to play on a server with sv_use_steam_voice set to 0.
See here for more info: http://hldj.org/forums/viewtopic.php?f=4&t=1079
Post Reply