Game Development Community

Volume Too Low

by Michael Dawson · in Torque Game Builder · 05/08/2009 (12:46 pm) · 5 replies

The volume of sounds played in any TGB created game on my PC is very low. The volume of a given WAV file played in a game is about just 1/3 of what it is when I play it through Windows Media Player. This sound problem exists in both my own games and in the sample games that come with TGB (tried both Solitaire and Reactor). Of course, in my code I set the volume to 100%...

In my audio.cs file:

new AudioDescription(AudioNonLooping)
{
   volume = 1.0;
   isLooping = false;
};

new AudioProfile(explodeAudio)
{
   filename = "~/data/audio/Explosion.wav";
   description = "AudioNonLooping";
   preload = true;
};

When I play the sound:

alxPlay(explodeAudio);

I have a Dell Precision 690 with a Sound Blaster Live card. Like I said, all other audio works just fine on my machine (games, Windows sounds, other apps etc).

Any ideas?

--Mike


#1
05/11/2009 (9:37 am)
Anybody else ever have this issue?

I've also tried commercial games made with TGB and the sound effects, when played in the game, are at a much lower volume than playing the corresponding sound files through a media player.

#2
05/11/2009 (5:42 pm)
ok, I think I've recreated your problem. Two ways to control volume in windows are: Volume Control and Wave. Go into to the volume settings and see if the wave setting is too low. If wave is not showing, go into options and check advanced control. Next go into options and then proporties to show the wave control. Moving the wave slider higher should solve your issue.

I hope this solves your problem...
#3
05/12/2009 (10:49 am)
@Steven, thanks for the suggestion, but my Wave volume in Windows was already up at 100%.

Actually, don't think the problem is a Windows setting because I can play the same sound effects file through a media player (or sound editor) at a 100% volume setting and it sounds plenty loud. However, when I play that same sound file in a TGB game at a 100% volume setting, the sound is very soft.

One unique thing is that I'm running on a workstation rather than a typical gaming PC, but it's a capable machine. (Xeon 3.2GHz
2GB RAM, NVIDIA Quadro FX 3500, Windows XP Pro, SB Live audio card.) Might that have anything to do with it?

Any other ideas?
#4
05/27/2009 (6:44 am)
The master volume in TGB is default set to 0.8. This volume can be changed in the defaultPrefs.cs file. Change the $pref::Audio::masterVolume variable to 1. We also changed the channel volumes to 1 in this file, but I don't know if this is necessary.
#5
05/27/2009 (10:04 pm)
thanks. i also had that problem... hope your tip works for me too... its kinda annoying to see that you have to beef up your sounds for them to work ok on TGB.