- Loading...
- No images or files uploaded yet.
|
|
Assignment 1Doug Mann: MannAssign1.1.zip (Improved FiveZero and Reson Filters) Danny Plazas: PlazasAssign 1.zip Michael Martinez: MartinezAssignment1.zip Brian Gerstle GerstleAssignment1.zip Scott Glogovsky GlogovskyAssignment1.zip Michael "The Body"... oh who am I kidding Battaglia BattagliaMMI05Assignment1.zip
If anyone has the time, I'd appreciate it if you could take a look at my code for the reson filter, which is behaving very strangely. I'm under the impression that I'm implementing the difference equation property with A0 = (1-R*R)*sin(theta), but it still saturuates like crazy and varies drastically with center frequency and bandwidth. Thanks in advance for your help!
|
Comments (4)
Doug Mann said
at 8:31 am on Feb 5, 2009
Formatting Differences
Doug Mann said
at 8:28 pm on Feb 8, 2009
Brian,
I took a look at your code and listened to your component. From what I can tell, the equations look correct. The plug-in seems to work as expected. A majority of the energy is going to be in the low frequency and as you decrease bandwidth you get a higher Q (more gain). So when using your plugin with low resonant frequency and narrow BW, I would expect it to be clipping hard. I could be wrong here, but your plug-in acts like mine.
bgerstle said
at 8:32 pm on Feb 8, 2009
Thanks a lot, Doug!
Why would there be more energy in the low frequencies as you decrease bandwidth? I was testing it w/ white noise (so there should be equal energy everywhere) and I was still experiencing these effects. I can kind of understand why it's getting louder as you tighten the Q (because you're putting the poles very close 1) but there should be a lot less energy getting being passed at the same time... Also, shouldn't the normalizing factor prevent most of this from happening? I found that mine behaved a little bit more like I thought it should when I took away A0, which is a little weird IMO.
Doug Mann said
at 11:59 pm on Feb 8, 2009
I'm sorry, I didn't make that completely clear. You're right, there is no change is the energy as your decrease BW, but there is an increase in Q, i.e. gain. I was just saying, in general, for pop/rock/rap music there is a lot more low frequency content. The white noise test was a good idea. Yeah, I was wondering about the inclusion of the gain factor, maybe Colby can make some sense of this. I would suspect that this reson filter is far from optimal and we might have to expect suboptimal performance over the entire audio range.
You don't have permission to comment on this page.