Re: How can I access 3D sound data?
Chris Robinson <[email protected]> Fri, 26 Aug 2011 11:21:41 -0700
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <4729911.e9aoEfFlj2@kittycat> |
On Friday, August 26, 2011 10:16:46 AM Robert McIntyre wrote: > How can I access the sound data from OpenAL after all appropriate 3D > positioning and environment effects have been applied to it? > > I would like to access the data for two reasons: > > 1.) Save the data to a wav file. > 2.) Display a graphical representation of the FFT of the data while playing > it. Do you need to do this while it plays over a real device? If so, there's the AL_EXT_FOLDBACK extension: http://icculus.org/alextreg/wiki/AL_EXT_FOLDBACK It allows you to define a region of memory that receives a mono or stereo mix of the processed audio data while its played over the device, and to be alerted when new chunks of audio data are ready. Note that only the Rapture3D OpenAL driver currently implements it, AFAIK. OpenAL Soft doesn't support it right now, but it may in the future. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal