Hey Kara,
That's exactly how I do it in directx, and it works just fine.
Check out my games at
www.ThePionEar.net
and my music, and that of my band, at
www.ThePionEar.net/BlindLabyrinth.html .
Also, check out, "The Believer and Skeptic Show," at iTunes!
If you want to reach me, you can call 419-744-0517, friend me on Facebook, (KenWDowney,) or write me at kenwdow...@me.com . ----- Original Message ----- From: "Cara Quinn" <caraqu...@caraquinn.com>
To: "Gamers Discussion list" <gamers@audyssey.org>
Sent: Friday, December 13, 2013 7:01 PM
Subject: Re: [Audyssey] To Developers: Switching from DirectSound to OpenALSoft


Hi Ian,

I use OpenAL rather than OpenAL Soft so hopefully this will help.

Yes, you can play music in the same context as positional audio simply by defining the source as stereo rather than mono. When you do this, the source automatically becomes non-positional so you can use it to play music etc, along with your positioned mono sources.

To your second point about positioning stereo sounds, I'm not sure about OpenAL Soft but in OpenAL you would need to play the left and right channels of your sound independently using two sources. This way you can position a stereo sound in 3D space.

Hope this helps.

Cara :)
---
iOS design and development - LookTel.com
---
View my Online Portfolio at:

http://www.onemodelplace.com/CaraQuinn

Follow me on Twitter!

https://twitter.com/ModelCara

On Dec 13, 2013, at 9:50 AM, Support <supp...@blindaudiogames.com> wrote:

A couple more questions I forgot to ask in the first email:

While my main focus is to play 3D sounds in OpenAL it would also be nice to play non-positioned stereo sounds in it as well. Is this possible? Do you have to load a second AudioContext with different settings to make this work?

In my current setup I use DirectSound for 3D sounds and DirectX.AudioVideoPlayback for all other sounds.

It seems that OpenAL leaves parsing the sound files up to the developer. I do have code for parsing a .wav file, but it would also be nice to use mp3 and ogg vorbis for the stereo sounds and music. Is there a recommended library for getting this benefit? I am using C#, but in general popular C libraries have C# wrappers that I can use.

Being able to play stereo sounds and music in OpenAL would be one step closer to cross platform.

I also saw a comment in one of the text files in OpenAL Soft that indicated that it could play 3D mono and multi-channel sounds.

Can it actually play multi-channel audio in 3D space? Assuming I set the position of the left track and the position of the right track in 3D space? The statement they made could be read as meaning that both mono and multi-channel sounds could be played in 3D.
Or maybe the 3D adjective applied only to the mono sounds.

Again, I appreciate any help.
Ian Reed


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list, please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to