Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3D DirectSound, volume of the sound

Status
Not open for further replies.

PjotrvA

Programmer
Feb 25, 2003
26
NL
Hi,

We' re currently developing a 3D sound system for a driving simulator. But we having difficulties with the volume of the sound.

If a sound (other car) passes our own car, it's volume is very low.
The factors aal are set to 1.0 (Rolloff, doppler and distance)
If we set the rolloff to 0.0, the sound is much louder (offcourse, its original volume)

The minimum distance is set to 50.0 meters. The car passes at a disance of 3 - 4 meters.

Does anyone know why the volume of the sound is decreased by DirrectSound????

thnx Pjotr
 
i think the sound volume is logarithmic, maybe your trying to set it as if its linear
 
Hi,

I do use a linear scale, but it is translated to a logarithmic value.
This section has been doublechecked many times.

but thnx for the suggestion

gr. Pjotr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top