[No] Support stereo sounds

Moderator: GZDoom Developers

Support stereo sounds

Postby wildweasel » Sun Apr 17, 2005 12:27 pm

I have no idea if this is possible with the existing FMOD library, but after playing Half-Life 2, I've been exposed to stereo sounds for weapons. It's so much more convincing than a mono sound.
User avatar
wildweasel
from a different perspective.
Moderator Team Lead
 
Joined: 15 Jul 2003

Postby Graf Zahl » Sun Apr 17, 2005 12:35 pm

Doom uses positional sounds for everything. By design these have to be mono. I have no idea how Half-Life 2 is doing this without either cheating (play something different for the player shooting the weapon) or just mixing multiple sounds from different positions together.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby HobbsTiger1 » Sun Apr 17, 2005 12:45 pm

Valve just cheats
User avatar
HobbsTiger1
Might be banned
 
Joined: 07 Jan 2005
Location: #DMClub

Postby Graf Zahl » Sun Apr 17, 2005 12:49 pm

Of course they do. But in this particular case as well? ;)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby HobbsTiger1 » Sun Apr 17, 2005 1:01 pm

Probably, but as in most cases we cant really prove it.
User avatar
HobbsTiger1
Might be banned
 
Joined: 07 Jan 2005
Location: #DMClub

Postby wildweasel » Sun Apr 17, 2005 9:22 pm

Here's a thought...For stereo sounds to be played in the distance, use mono sound curves, in other words as the player gets farther away from a stereo sound, it merely decreases in volume (no speaker positioning is done).
User avatar
wildweasel
from a different perspective.
Moderator Team Lead
 
Joined: 15 Jul 2003

Postby Chris » Mon Apr 18, 2005 12:39 am

Eww. What I'd do is just play two seperate mono samples 1 or 2 units apart (the "left" sample would be played one unit to the left of the source, the "right" sample would be one unit to the right).
User avatar
Chris
 
Joined: 17 Jul 2003

Postby wildweasel » Mon Apr 18, 2005 10:32 pm

How well would that work in terms of player-origin sounds (ie. pistol shots)?
User avatar
wildweasel
from a different perspective.
Moderator Team Lead
 
Joined: 15 Jul 2003

Postby Graf Zahl » Tue Apr 19, 2005 3:01 am

That depends on the sounds being played. But keep in mind that using stereo sounds in such a manner is cheating. The stereo effect in real life doesn't come from different sounds but mostly from any kind of reflections and those are not that easy to emulate on a computer. A gunshot has a single point of origin and hence absolutely no stereo properties. So the big question is: How do you emulate it?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Chris » Tue Apr 19, 2005 12:36 pm

How well would that work in terms of player-origin sounds (ie. pistol shots)?

It should work fine. The left sample would be played to your immediately left (which would cause it to pan hard left), and the right sample would play immediately to your right (which would cause it to pan hard right). The only thing that would mess it up is if you had variable pitched sounds on, since it would, in essence, split the single stereo sound effect into two mono sound effects.
User avatar
Chris
 
Joined: 17 Jul 2003

Postby Your Name Is » Tue Apr 19, 2005 2:10 pm

I've looked into it. HL2 did not, in fact, cheat (at least not in this instance)... This should be interesting and sound pretty good.
User avatar
Your Name Is
Wake up and smell the ashes.
 
Joined: 31 Oct 2004
Location: Raleigh, NC

Postby wildweasel » Tue Apr 19, 2005 7:04 pm

I wouldn't mind if Randy "cheated" with the stereo sounds - my main reason for requesting this is because I'd love to use some HL2 weapon sounds, but they are absolutely destroyed if I change from stereo to mono.
User avatar
wildweasel
from a different perspective.
Moderator Team Lead
 
Joined: 15 Jul 2003


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests