OpenAL/EFX demo for B3D

Miscellaneous Forums/General Discussion/OpenAL/EFX demo for B3D

I've messed with this on & off for a while, I restarted it and decided to thinly wrap it so most of the code is done inside B3D instead (it's just more comfortable than C++ :) and allows anyone to update it themselves.

A few more bits to do, should have some source by Friday for you all to mess with.

www.lightwave3d.pwp.blueyonder.co.uk/OpenAL-Demo-1.zip

As per instructions, SPACE toggles reverb on/off. Be sure to move near & far away from the cube to hear some of the reverb presets at full effect.

2 of the DLLs in the zip (wrap_oal.dll & OpenAL32.dll) would normaly be in a users system32 folder after installing Creatives OAL installer available here: (install it anyway!!)
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46


The demo will try and open a Hardware renderer, if it can't, it'll try and open a Software renderer.

Though not in this demo, audio capture works fine, as does streaming.

With this kind of Capture ability I've wrapped up the Speex codec also which I'll release along with this stuff at the weekend. The Speex codec for those that don't know, is aimed at compressing/decompressing speech @ low bitrates.

I've had a successful test of realtime over-the-net voice chat with Smilertoo (well it was one way so he had to listen to me sing 'mary had a little lamb' :) but Smiler said it was nice & clear. Using a low Speex setting, it used a data rate of about 1kps.

Thanks to Chris Kinman & Stephen Housden for letting me use their guitar samples in the demo. Please do not distribute them!
www.kinman.com & www.stephenhousden.com


Roll on the weekend!
Cya
Tom

shutit tom - stop showing off... no one here likes u
anyway ;) - does it come with free beer?

- seriously though, this is kinda cool..

I've put a new version up, it'll let you choose which device to use.

Also, if you'd like to debug some info for me, press the RETURN key and a text file will be saved to 'c:\aldebug.txt'

I'd appreciate it if you could post the info from it here, and what sound card/chipset you're using (if you know)

Thanks!

tom, you should definately code the next patches for b3d ;)

this is really great news! really great!!!

Tom,

This is awesome!

RealTek works just fine with the demo - love the reverb and may be able to use something like this in my current project.

Any kind of release date please? Cost?

Many thanks

IPete2.

this is sooo great, this gives us true 3d surround sound to b3d!!! this adds another quality level to b3d!!

Source n stuff on Friday, no charge because FREE = NICE!

In the mean time, you might want to skim through the OpenAL SDK Docs:
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=45
(link at bottom of page)

Even if you don't get into the API, be sure to check out the sweet implementation guides in 'Effects Extension Guide.pdf'

Quote:

Consider a sword clanked in a small padded cell. It should sound very different to the same sword
clanked in a large cathedral, and it is reverberation that tells the story. Or consider a scream coming
from the next room. The occluded (muffled) quality of the scream tells you there’s a wall in between
you and the screamer. Without these environmental effects, the listener cannot pinpoint how far away
the sources are and has no idea of the environment where the sources are located. The Sound
sources are naked and lack warmth — the aural equivalent of a visual world without shadows, haze,
and independent light sources.
Environmental Audio gives the gamer an audible indication of the characteristics of their surroundings.
Reverb effects can provide the listener with sonic cues to differentiate between locations and reinforce
the feeling of immersion, and environmental filtering allows architectural features of the environment to
be modelled aurally.


Normaly I'd cringe at such a description thinking someone was 'spicing it up', but it really does sound that good :)

You are such a gent and a scholar!

Thanks, genuinely!

IPete2.

This is great.

What do we do with it?

stealing pukis stuff !

puki: You could put it with the rest of your collection, or you could use it to enhance a project by adding some audial realism.

friday has passed and no source. i am sure tom adds lots of functions, so it takes a little bit longer... i am still waiting happily for this great addon.

erm, tom, are you alive?

Yup, loads of new code, tons of bug fixes. Stick with me! :)

WOoooooo - brilliant - I can't wait (but I will of course).

IPete2.

same as ipete2 wrote ;)

any news on this? i am at the stage of incorporating sound stuff into my game, so this would be very handy at the moment ;)

yes, this looks very good. Any news on the release?

This is fantastic, I cant stop listening. :)

first blitz was down here,
but now youve taken blitz to a hole...nuvah....level..

i was on holiday - did i miss the release of it? or is tom still developing this?

hey tom, whats the status of openal ? did you finish it? we are still waiting for your nice wrapped dll!

wow, why i havent seen this before?!? this is sweet!

i would even take it _as is_, tom. just load it up, please :)