HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > 3-D Audio


3-D Audio kX 3-D Audio, DirectSound 3D, OpenAL and EAX discussion

Reply
 
Thread Tools
Old Oct 21, 2003, 12:41 AM   #1
DriverHeaven Newbie
 
Join Date: Oct 2003
Posts: 2
Rep Power: 0
mjander is on a distinguished road

Smilie Hardware OpenAL support (aureal vortex and sblive)

Hello,

I'm currently working on 3D hardware support for the Aureal Vortex series of soundcards. I know that they once where a rival to Creative labs, but please don't flame me.
They sound create too

Well, i already figured out howto program HRTF and the like into the Aureal Vortex 3D processor, but obviously thats useless without a Decent API. The obvious choice to me semes to be OpenAL, since there is available source code, and a big company backing it.

I helped to write a Completely rewritten driver for Linux, which already is in a stable state, and has been incorporated into the official ALSA (Advanced Linux Sound Architecture) release. It provides support for almost anything except the 3D audio processor part yet.

I think that any effort in supporting a decent 3D support, for whatever soundcard should be done in a cooperative fashion, to avoid the dilution of inidividual efforts.

The other issue is porting our driver to windows. Is there any source code avaiable from the kx project ? The idea is to start with some sort of skeleton driver framework, and hook into it the existing Aureal Vortex driver core, which has been designed to be portable.

Any comments are gladly welcome.

Manuel Jander
mjander is offline   Reply With Quote


Old Oct 21, 2003, 11:30 AM   #2
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

hello

I'm glad you've decided to contact us concerning 3-D audio implementation. At the moment, there are two main APIs available for Windows computers: DirectSound3D and OpenAL (I doubt Aureal's own API will ever resurrect). Our driver currently supports DirectSound3D API and its programming model. We are currently working on EAX implementation. In most cases, the OpenAL API is supported in Windows by means of a special 'translation' layer (the source code is available from www.openal.org), so, since DirectSound3D is a 'native' API for Windows, this solution seems to be quite natural. However, it seems that Creative Labs has recently introduced its own implementation (NOT opensource), that doesn't rely on the DirectSound3D API.

As for our own project, we currently don't have any plans implementing native support for OpenAl, since the translation layer is widely available.

>> and a big company backing it.

unfortunately, the only company curretly supporting openAl is Creative
(well, NVidia isn't a significant player at the moment)

>>I think that any effort in supporting a decent 3D support, for whatever soundcard should be done in a
>> cooperative fashion, to avoid the dilution of inidividual efforts.

I agree

>> Is there any source code avaiable from the kx project

no, at least, not at the moment

>> The idea is to start with some sort of skeleton driver framework, and hook into it the existing Aureal
>> Vortex driver core

probably, writing a new 'core' compatible both with DirectSound3D and OpenAL might be a good idea
however, every 'implementation' is usually hardware-specific
our own 3-D kernel is card-independent, but it is much closer to the DirectSound3D programming model (than to OpenAL one)
I currently don't have any hardware information on the Vortex chips so I cannot guess if there is a possibility to create a good hardware abstraction layer to fit both 10kX and Vortex architectures.

Please let me know if you have any ideas on our possible collaboration.

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old Dec 13, 2003, 12:40 AM Threadstarter Thread Starter   #3
DriverHeaven Newbie
 
Join Date: Oct 2003
Posts: 2
Rep Power: 0
mjander is on a distinguished road

back again...

Hi again,

Its a long time ago since i posted, but know i have something more valuable source code in my bag

Finally i got the Aureal Vortex 3D engine working. I know exactly how it works and what it supports:

I has 16 3D processing units, that can be routed in any possible way.
Each of these 3D "sources" supports 2 56tap FIR filters for HRTF processing (one for each ear),
atmospheric filters, time delay and individual gain. The output of these 16 3D sources is fed
into a corsstalk canceler, and mixed together, to be send to the codec.
Apart of that there are upto to 96 additional DMA channels which can be used to add "reflections",
and/or midi synthesis.

The programming of the HRTF and other processing blocks is very easy, since the HRIR coeficients are
just written into memory mapped areas.

What is really urgently needed for the Aureal Vortex driver is a Windows WDM audio driver skeleton where we
can hook in the existing driver core (which is part of a stable well working ALSA (linux) driver). This new core is 100% open source written from scratch, so the old binary core bugs don't have to be worried about.

If anyone could tell me where to find a WDM skeleton driver, would be very great.

By the way, the Kx project is supposed to be free... in the sense of "free as in beer" or "free as in speech" ???


Best Regards
mjander is offline   Reply With Quote
Old Dec 13, 2003, 10:05 AM   #4
Freedom is a feature.
 
RIV@NVX's Avatar
 
Join Date: Jul 2002
Location: Croatia, Rijeka
Posts: 4,476
Rep Power: 0
RIV@NVX will become famous soon enough
System Specs

Re: back again...

Quote:
Originally posted by mjander
By the way, the Kx project is supposed to be free... in the sense of "free as in beer" or "free as in speech" ???
It's free as you don't have to pay for it, but it's not opensource.
__________________
-- Vedran
RIV@NVX is offline   Reply With Quote
Old Dec 18, 2003, 02:58 AM   #5
Intel Black Belt
 
Join Date: Dec 2003
Location: Belgrade, Serbia
Posts: 128
Rep Power: 0
igor_levicki is on a distinguished road
System Specs

you can find it in windows driver ddk which you require for writing the driver anyway. I would also suggest getting Numega Driver Suite since it has C++ libraries of classes that can spare you quite some hassle of writing glue code for interfacing with OS.
__________________
Regards,
Igor Levicki
--
Creative Audigy 2 ZS Retail (SB0350) kX 3538h

igor_levicki is offline   Reply With Quote
Reply

Thread Tools