Re: Realtime filtering for OpenAL
Fruskus <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Well, let's see Daniel PEACOCK wrote: > > > 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 > That's exactly what I'm doing. I retrieve de data and apply the filtering. Then play it. Daniel PEACOCK wrote: > > > 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 > > OpenAl routine for playback seems to be working fine, because when removing the filters it captures and plays well, and the SNR is apparently good. The problem should be in the filter routine I made. It worked fine in a static version of the whole program (reading from a wav, filtering and saving), but I think a didn't adapt it right for realtime. That's why I would like to check another code for this purpose. Thank you very much your help Dan. -- View this message in context: http://old.nabble.com/Realtime-filtering-for-OpenAL-tp27376511p27420489.html Sent from the OpenAL - User mailing list archive at Nabble.com. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal