Re: Audio Low Frequency Instability



robert bristow-johnson wrote:
On Nov 13, 9:24 pm, Dirk Bruere at NeoPax <dirk.bru...@xxxxxxxxx>
wrote:
robert bristow-johnson wrote:
...
dunno if it will solve your particular low-frequency problem, but i
have found for audio (where the most interesting frequencies are often
7 or 8 octaves below Nyquist) is to use trig identities to express all
of the terms with (1 - cos(2*pi*f0/Fs)) in terms of something with
sin() instead. it requires a little change in the architecture of the
filter.

Thanks. That's a neat trick!

well, i didn't really spell it out but all's i was thinking of is the
same trick i did for accurately expressing frequency response at low
frequencies. i posted something about that a while ago:

http://groups.google.com/group/comp.dsp/browse_frm/thread/8c0fa8d396aeb444/a1bc5b63ac56b686

where the main idea is to replace

cos(w) <-- 1 - 2*(sin(w/2))^2

where w = 2*pi*f/Fs is the low frequency in the frequency response.
but now we replace w with w0=2*pi*f0/Fs where f0 is the very low
resonant frequency of the audio filter so we are replacing

cos(w0) <-- 1 - 2*(sin(w0/2))^2

in the filter coefficients and expressing all of the "1" terms with
direct paths in the signal flow graph. then, if you maintain some
kind of pseudo-floating-point with 2*(sin(w0/2))^2 (shifting bits
right after multiplying with scaled up versions of those tiny numbers)
you'll be able to implement an accurate filter even for low values of
w0.

that's the trick.

r b-j


Takes me back 35 yrs to my maths "A" level exams.
I'll have to dig out all my old trig books.
I can certainly see how people make a career out of DSP. It's one thing to understand such stuff, but another to think it up. Reminds me why I gave up physics.

--
Dirk

http://www.transcendence.me.uk/ - Transcendence UK
Remote Viewing classes in London
.



Relevant Pages

  • Re: Amplitude response of a Biquad Filter
    ... Wrong implementation of filter coefficients???? ... But, when I use an ordinary audio file, I see the ... Sampling frequencies ranging from 8 kHz to 48 kHz (audio related ...
    (comp.dsp)
  • Re: Audio Sampling Question
    ... By which you mean ultrasonic frequencies (close to the Nyquist limit imposed by the ... If used strictly for audio frequencies, a front end filter truly isn't required. ... I didn't have that luxury. ...
    (sci.electronics.design)
  • Re: Michael Reichmann reasoning for AA filters?
    ... It causes ringing in the fourier domain (time in audio, space in imaging) not in the frequency domain. ... There is NO power at higher frequencies - that is the point of the stop filter. ... If you look at the fourier terms required to create a brick wall type filter, the even terms are positive, but the odd terms are negative. ...
    (rec.photo.digital)
  • Re: Filter design.
    ... The design of the filter is quite simple. ... I want to know what affect the sampling frequency of the audio ... > data I am talking about, so I am not interested in frequencies ...
    (comp.dsp)
  • Re: precision low frequency generation (redux)
    ... Any attempt to use a PWM rectangular wave to transfer such low frequencies ... The PWM carrier is in the audio range. ... sub-AF from the variable duty cycle is done by the external circuitry. ...
    (sci.electronics.design)

Loading