Support stereo sounds
Moderator: GZDoom Developers
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
Support stereo sounds
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.
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
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?
- Chris
- Posts: 2940
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
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.How well would that work in terms of player-origin sounds (ie. pistol shots)?
- Your Name Is
- Posts: 802
- Joined: Sun Oct 31, 2004 5:06 pm
- Location: Raleigh, NC
- Contact:
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact: