Christian Schäfer
2012-03-03 16:49:05 UTC
Hey guys,
I've started woking on a 3D audio project at university. I'll try to build a 3D-Soundsystem with (at the moment) two 7.1 systems (one at the top of the room, 1 at the bottom).
My approach of thinking was to create 2 contexts (1soundcard per context) that are logically on top of each other. The bottom one should cover the negative y-axis, the other one should cover the positive y-axis. Every time a source is moved or created it is checked, if the y position value is negative or positive and the source added/moved to the matching context.
Now I realized, that it is only possible to have one current active context. Is my approach anyway possible?
Is there a way to have 2 contexts on different soundcards active and moving sources from one to the other?
Could it be possible to make only one context, that runs on two devices? How should I control, what is rendered with which device, in this case? I think this in't possible.
Do you have another approach for my project? Is OpenAL the right thing, to work with more than one soundcard?
It is very hard to find information about OpenAL on the internet that exceeds the introducing examples.
I hope to get an answer. Would be very nice.
Thank you!
Best,
Christian
I've started woking on a 3D audio project at university. I'll try to build a 3D-Soundsystem with (at the moment) two 7.1 systems (one at the top of the room, 1 at the bottom).
My approach of thinking was to create 2 contexts (1soundcard per context) that are logically on top of each other. The bottom one should cover the negative y-axis, the other one should cover the positive y-axis. Every time a source is moved or created it is checked, if the y position value is negative or positive and the source added/moved to the matching context.
Now I realized, that it is only possible to have one current active context. Is my approach anyway possible?
Is there a way to have 2 contexts on different soundcards active and moving sources from one to the other?
Could it be possible to make only one context, that runs on two devices? How should I control, what is rendered with which device, in this case? I think this in't possible.
Do you have another approach for my project? Is OpenAL the right thing, to work with more than one soundcard?
It is very hard to find information about OpenAL on the internet that exceeds the introducing examples.
I hope to get an answer. Would be very nice.
Thank you!
Best,
Christian