Re: Seeking Help Developing a Crude Room Correction Algorithm



If I interpreted what you said correctly, you have a stimulus (audio
being played through a speaker) and a microphone in a room, and you
would like to correct for the distortion caused by the room at the
microphone.

Look up "Adaptive Filter." The gist of it is that you run your source
through a filter prior to it leaving the speaker. The coefficients of
the filter are changed based on the error between the original source
and the sound from the microphone. It's pretty easy to grasp once you
try a concrete example. Other things to google: "LMS adaptive filter".
Most books on adaptive filters introduce LMS in a fairly
straightforward way. There are better alternatives, but it's easiest
to grasp at first.

Beware: try this in Matlab first with a short impulse response. Room
impulse responses are fairly long and require a bit more effort to
work with.

Chris

On Apr 27, 4:38 pm, "gener" <gyp...@xxxxxxx> wrote:
Hi all, first time poster here, and was hoping to get some advice on class
project. What I'm trying to do is to correct the impulse response of my
room by filtering the stimulus signal so that the new IR would be "flat".
Then, hopefully sending out the new stimulus signal would result in a flat
frequency IR — this is crude (i'm a beginner), and I'll probably avoid
dealing with phase at this point.

If I want to scale the frequency bins of the stinmulus signal by the
inverse of the magnitudes of the IR, any suggestions on how to make sure
the bins in the stimulus and the IR are the same as I take the FFT of
each?

Basically I want to convolve (.*) the ffts of the stim and the IR and then
take the ifft of that result.

Thanks!

.



Relevant Pages

  • Re: Audio Tachometer for 2 stroke engine
    ... >ONLY the engine combustion pops, ... It likely doesn't need to filter out much at all. ... two stroke exhaust port to release the results of a recent explosion ... mechanical damage to the microphone. ...
    (sci.electronics.design)
  • Re: Acoustic Echo Cancellation
    ... If I model the microphone signal, y, as the output, y_hat, of an FIR ... filter Hand the input to that FIR filter is the speaker signal x, ... Buffer block of microphone data ...
    (comp.dsp)
  • Re: OT Wasserman Schultz Last Week: "The Economys on an Upswing" ...Wasserman Schultz This Week: "We
    ... The Economy s on an Upswing ... Wasserman Schultz This Week: We Need a Stimulus ... By using T-Bird's filter (select Tools from the main menu ... various individual posts, but he just keeps changing names ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: microphone sound filter or anything?
    ... Position microphone near source of sound. ... to separate strong noise sources from the voice. ... You cannot filter out ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Validating an A-Weighted filter
    ... filter is itself the result of psychoacoustic research, ... The original research delivered masked audio. ... The stimulus was found to have its greatest measurable effect ... filter is used solely as a means of measurement, ...
    (comp.dsp)