Surpressing background music -finally SOLVED-
Quote from Brainstone on June 19, 2013, 2:24 pmOk, so I'm implementing the sounds for my mod right now. I've created a soundscript:
- Code: Select all
"aperture_alpha.glados.01_01_helloAndWelcome"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "aperture_alpha/glados/glados_01_01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}And the sound plays just fine. The problem is just that it doesn't lower the volume of the background noise.
It doesn't surpress background music played as raw from an amibient_generic.
It doesn't surpress background music played as soundscript from an amibient_generic.
It doesn't surpress the standard industrial soundscape, which plays in the background of every Hammer map without a custom one.Anyone knows what I have to do?
Also, even if it did surpress the background noise, my sound would still be too quiet. Can this be fixed by increasing "volume" "VOL_NORM"?
Ok, so I'm implementing the sounds for my mod right now. I've created a soundscript:
- Code: Select all
"aperture_alpha.glados.01_01_helloAndWelcome"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "aperture_alpha/glados/glados_01_01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}
And the sound plays just fine. The problem is just that it doesn't lower the volume of the background noise.
It doesn't surpress background music played as raw from an amibient_generic.
It doesn't surpress background music played as soundscript from an amibient_generic.
It doesn't surpress the standard industrial soundscape, which plays in the background of every Hammer map without a custom one.
Anyone knows what I have to do?
Also, even if it did surpress the background noise, my sound would still be too quiet. Can this be fixed by increasing "volume" "VOL_NORM"?
Quote from Brainstone on June 23, 2013, 7:29 am*push*
come on, nobody knows that? What about the guys that already implemented custom voice files? Skotty? josepezdj? Has someone ever gotten it to work that their sounds silence the surroundings?
*push*
come on, nobody knows that? What about the guys that already implemented custom voice files? Skotty? josepezdj? Has someone ever gotten it to work that their sounds silence the surroundings?

Quote from josepezdj on June 23, 2013, 10:25 amBrainstone, have you checked TopHattWaffle's tuto about this? maybe it makes you realize what could you be doing wrong...
Brainstone, have you checked TopHattWaffle's tuto about this? maybe it makes you realize what could you be doing wrong...
Quote from Brainstone on July 8, 2013, 11:17 amYES! Finally figured it out!
First, I was completely clueless several days: I copied an official VALVE soundscript of the announcer:Original VALVE sound
- Code: Select all
"announcer.OpeningExercise01"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "vo/announcer/OpeningExercise01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}COPIED version:
- Code: Select all
"apertureAlpha.announcerTest"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "aperture_alpha/glados/openingexercise01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}Then, I implemented this copied version.
What drove me nuts: When I played both sounds next to each other, the official sound would silence the surroundings, my custom one not. I thought, deep inside the game engine, the official soundscript had been changed.
Today, I finally found it: The "mixgroup" function can only to be applied to the person it referends to. announcerVO works only for announcer. There doesn't need to be a generic_actor-entity inside the map, BUT the speaker must be the first word of the soundscript's name before the dot.
Therefore THIS works perfectly:
- Code: Select all
"announcer.ApertureAlphaAnnouncerTest"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "vo/announcer/OpeningExercise04.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}I hope this will somewhen help somebody.
YES! Finally figured it out!
First, I was completely clueless several days: I copied an official VALVE soundscript of the announcer:
Original VALVE sound
- Code: Select all
"announcer.OpeningExercise01"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "vo/announcer/OpeningExercise01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}
COPIED version:
- Code: Select all
"apertureAlpha.announcerTest"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "aperture_alpha/glados/openingexercise01.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
}
Then, I implemented this copied version.
What drove me nuts: When I played both sounds next to each other, the official sound would silence the surroundings, my custom one not. I thought, deep inside the game engine, the official soundscript had been changed.
Today, I finally found it: The "mixgroup" function can only to be applied to the person it referends to. announcerVO works only for announcer. There doesn't need to be a generic_actor-entity inside the map, BUT the speaker must be the first word of the soundscript's name before the dot.
Therefore THIS works perfectly:
- Code: Select all
"announcer.ApertureAlphaAnnouncerTest"
{
"channel" "CHAN_VOICE"
"volume" "VOL_NORM"
"pitch" "100"
"soundlevel" "SNDLVL_NONE"
"wave" "vo/announcer/OpeningExercise04.wav"
"soundentry_version" "2"
"operator_stacks"
{
"update_stack"
{
"import_stack" "update_dialog"
"mixer"
{
"mixgroup" "announcerVO"
}
}
}
I hope this will somewhen help somebody.

Quote from Brainstone on July 9, 2013, 8:18 pmForgot everything I wrote. That was wrong. Bullshit. The last soundscript didn't point to my sound, but to VALVE's sound.
BUT I've finally found the real error. And it works now. I've heard my own sounds in action. And all you need to do:
Place your sound in:
vo/<your actor>/sounde.g.
vo/glados/aperture_alpha_glados_01.wavand make sure to use the correspondent mixer, in my case "GladosVO".
If the sound is not in the vo folder, the mixer won't work. I can't understand why, but it finally works.
Forgot everything I wrote. That was wrong. Bullshit. The last soundscript didn't point to my sound, but to VALVE's sound.
BUT I've finally found the real error. And it works now. I've heard my own sounds in action. And all you need to do:
Place your sound in:
vo/<your actor>/sound
e.g.
vo/glados/aperture_alpha_glados_01.wav
and make sure to use the correspondent mixer, in my case "GladosVO".
If the sound is not in the vo folder, the mixer won't work. I can't understand why, but it finally works.