Forums > MaxMSP

Five Bands Equalizer

December 13, 2010 | 8:20 pm

Hi,
I need a little help to make a classic five band equalizer to analyse audio input. By classic I mean an usual one. I’m more into jitter and in fact the final purpose is to be generate control data to use in my vj patch : I want to be able to use the kick drum for one effect and the snare for another one. So I don’t know nothing about audio theory. I used the fffb~ example and tried to reduce the 8 bands to five by borowing some frequency values from wikipedia : 60 250 1k 3,5k 10k. But I don’t know if it’s the good ones and I’m still stuck with the eight q’s…
So if any audio wizard could help me to get the right values (frequencies and q) it would cool.
Here is the patch :

– Pasted Max Patch, click to expand. –

(edited by admin – *please use Edit->Copy-Compressed*)


December 14, 2010 | 5:02 am

being new to this, you might have better luck with using filtergraph~, set to ‘nfilters 5′, going into cascade~(see cascade~ help file).

hope it helps.

________________________________
*Never fear, Noob4Life was never here!*


December 14, 2010 | 4:35 pm

Well, thanks, but I don’t really want to equalize the audio input.
I just want to split the signal into five separate one : low, mid low, mid, hi mid and hi. So i can easily isolate the kick, the snare, the voice or something else and use the data to control a video effect.
I can do it easily with fffb~, I can program the patch, it’s not complicate.
The thing I don’t know is the right/usefull frequencies a normal 5 bands equalizer would use and also how to deal with the q.


December 15, 2010 | 12:39 am

yes, you can use cascade~ for what you want to do, too(shelving and bandpass filters are great for splitting up the range). you are basically doing the same thing using fffb~, it is just reson~ style filters… great thing about cascade~ and filtergraph is that you can get a bit more specific(fffb~ is harsh). but it will never be exact, anyways. sounds like fffb~ is only the first apparent solution you’ve found, that’s all.

but also sounds like you’re not looking for technical knowledge and answers just quick results so here’s some info. on frequencies:
http://www.independentrecording.net/irn/resources/freqchart/main_display.htm
there is no such thing as a standard or normal equalizer. every make and model had their bands set differently. what you want to do is study up on the instrument ranges.
also, if you don’t want to ‘equalize’ the input, then don’t use an ‘equalizer’(and you might want to alter the title of the whole thread from ’5-band-equalizer’). seems you need to learn what it is you’re working with before deciding to work with it(it also makes anyone’s good advice a complete waste).
what you REALLY want is to roll your own FFT analysis on your input but maybe that’s too complicated for you.

well, anyways, enjoy the quick fix.

________________________________
*Never fear, Noob4Life was never here!*


December 15, 2010 | 2:48 am

oh dear, so sorry for my irritability. i usually know not to post when i’ve had a bad day. but sometimes i’m tempted just to see if it might cheer me up(and of course, it did not).

apologies.

best of luck.

________________________________
*Never fear, Noob4Life was never here!*


December 15, 2010 | 11:55 am

No prob, I get and understand what you meant and I prefer a mean answer to no answer ;)
ANd you’re right about : "you’re not looking for technical knowledge and answers just quick results". I spent so much time on the jitter/video side that I know I don’t want to do the same on msp/audio side since I don’t intend to produce any sounds at all.
As I said I don’t know much about audio but I’ve understand that It’s pretty complicated and you need to spend a lot of time to get it especially in terms of analysis.
I’ll will try to give filtergraph and cascade another chance.


December 15, 2010 | 11:59 am

Oh and thanks for the link, it’s really interesting.


Viewing 7 posts - 1 through 7 (of 7 total)