gen/biquad

bkshepard's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I'm probably trying to do too much at once, but I'm trying to build a biquad inside of a gen~ object. Based on my understanding of the two, I *think* I have the same structure inside my gen~ patch as the biquad structure, but I don't get the same results. Can some of you gen~ gurus point me in the right direction? Thanks so much!

Timo Rozendal's icon

did you know that there are examples of biquad implementation in gen in your examples folder? gen~.biquad.maxpat to be exact

stkr's icon

indeed timo is correct - this has been done for you already in the gen~ examples folder.

however, only 'direct form 1' (like MSP). i made this patch a while ago for my own sanity (attached .maxpat). hope it helps. all working and correct as far as i can tell.

by the way, i noticed your clear mechanism. to 'clear' the gen~ versions, you need only send '0' to all the history objects inside the gen~, by naming all the history objects and then sending the message via a message box to the gen~ object itself. much easier.

3423.codeGenBiqDemo.maxpat
Max Patch
bkshepard's icon

Hey, thanks! No I didn't realize we had an example, DOH!!!

@stkr: Wow, really impressive--and helpful--patch! Thanks for sharing that. I had tried the 0 to named history objects, but for some reason it wasn't working which is why I did the little gate thingie.

Thanks, again, to the both of you!