Re[Openal] altime filtering for OpenAL

Daniel PEACOCK dpeacock at creativelabs.com
Tue Feb 2 01:59:57 PST 2010





Hi,

I think it would be helpful to break this problem down a bit.

Is this what you are doing ...

Capturing Audio from OpenAL
Running your filter on the captured audio
Playing / saving the resulting audio

To determine where the noise is being introduced you could try writing the
raw audio data to disc after each stage for off-line analysis.

It maybe, for example, that the captured audio includes a DC offset that is
present even when the recording level is 0 and this causes some unwanted
side-effects in the filtering process.  Or, perhaps there is a bug in the
filter code (you have to watch out for de-normals and underflows), or maybe
OpenAL itself is somehow distorting the output when you play the filtered
audio back.

Dan
Creative Labs, UK

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Creative Labs UK Ltd company number 2658256 registered in England and Wales
at 79 Knightsbridge, London SW1X 7RB



                                                                           
             Fruskus                                                       
             <karlonchiz at hotma                                             
             il.com>                                                    To 
             Sent by:                  openal at opensource.creative.com      
             openal-bounces at op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       Re[Openal] altime filtering for     
                                       OpenAL                              
             01/29/2010 06:46                                              
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           





Hello,

I'm writing a "realtime" filtering module to implement a vocoder later.
The point is that the filters frecuency behaviour seems to be almost right
but I'm getting a lot of noise when applying them.

I'm using an IIR DTF-II filter with 3 biquad sections, in order to avoid
overflow, running over the capture with queue routine for openAL.

The program is returning noise even with the windows recording level set to
zero. But it returns no output when I fill the input vector with 0's.

The question is, does anybody knows a realtime IIR filter code write in C++
for using with OpenAl?

Any suggestions and answers will be appreciated.

Thanks!
--
View this message in context:
http://old.nabble.com/Realtime-filtering-for-OpenAL-tp27376511p27376511.html

Sent from the OpenAL - User mailing list archive at Nabble.com.

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0007957E



More information about the Openal mailing list