[Dspforum] IIR audio output question
O'Connor, Sean R.
Sean.OConnor at jhuapl.edu
Mon Nov 9 09:58:40 MST 2009
That is exactly the sound I have been hearing! I will check out the time domain in the debugger tonight along with using 'wavrecord' in matlab to capture a longer output sequence for analysis.
Thanks again for the help.
-----Original Message-----
From: dspforum-bounces at echelonembedded.com [mailto:dspforum-bounces at echelonembedded.com] On Behalf Of Wenstrand, Doug S.
Sent: Monday, November 09, 2009 11:11 AM
To: dspforum at echelonembedded.com
Subject: Re: [Dspforum] IIR audio output question
Attached is a wave file which captures what Sean describes as the eerie sound. (It does sound kind of eerie). Let me know if I'm wrong Sean. In any case, this is a result of taking white noise in Matlab, and sending it through the filter. Its spectrum shows the passband of the filter.
Faint sounds like this on your output when the board is unplugged may be the result of noise on the input -- not that there is much you can do about it, but check the time domain data in the debugger just to be sure that this is the cause.
-----Original Message-----
From: dspforum-bounces at echelonembedded.com [mailto:dspforum-bounces at echelonembedded.com] On Behalf Of Wenstrand, Doug S.
Sent: Monday, November 09, 2009 9:52 AM
To: dspforum at echelonembedded.com
Subject: Re: [Dspforum] IIR audio output question
Sean, my guess is that this is perfectly fine. Without seeing your designed filter, I can easily imagine that it approaches something much like a 697 or 770Hz resonator. Assuming you have somewhat of a noisy input, the output of the filter is going to be the shape of the filter passband, which probably sounds like an eerie tone. Pipe some white noise in at varying amplitudes using NCHtone to confirm.
Doug
p.s. can you email me your filter coefficients and I'll confirm for myself?
-----Original Message-----
From: dspforum-bounces at echelonembedded.com [mailto:dspforum-bounces at echelonembedded.com] On Behalf Of O'Connor, Sean R.
Sent: Sunday, November 08, 2009 4:44 PM
To: dspforum at echelonembedded.com
Subject: [Dspforum] IIR audio output question
Even with no audio input, I hear a faint eerie resonance on both channels. The oscillations are of the correct frequency, namely ~697Hz on the left channel and ~770Hz on the right channel. The design seems to work when I input test tones, but the resonance is always present (it is even quieter with only one biquad). It seems like there is some instability in the filter, although the output does not 'run away' or saturate the output. Any thoughts on this?
Also, is the float to integer conversion supposed to be done with DSPF_fltoq15()? Currently I am just casting the float filter output to an integer, this is the approach taken in the book.
Thanks,
Sean
_______________________________________________
Dspforum mailing list
Dspforum at echelonembedded.com
http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
_______________________________________________
Dspforum mailing list
Dspforum at echelonembedded.com
http://echelonembedded.com/mailman/listinfo/dspforum_echelonembedded.com
More information about the Dspforum
mailing list