Forums > MaxMSP

play a biquad~ filter with a MIDI keyboard polyphonic.

Jul 06 2008 | 12:48 am

Jul 06 2008 | 2:24 am

Jul 06 2008 | 2:42 pm

hello Chris Muir,

thanks for your reply and sorry for my unclear description.

"poly~" is a nice solution for audio-muting.

but my problem is also the MIDI-note handling.

how can I get a list from "notein" for polyphonic notes?

if I use "stripnote" and "thresh" I get not always a list — even I change the threshold.

any idea or a simple help-patch ?

thanks! and best wishes,

Jul 06 2008 | 3:02 pm

hmm .. also "midiin" together with "midiparse" are not always sending a list of polyphonic notes.

is there any trick ?

thanks & best wishes,

Jul 07 2008 | 9:55 am

bdhm schrieb:
> MIDI-pitch = filter-frequency.
> Note-On = particular filter-frequency-open.
> Note-off = particular filter-frequency-muted.
> bandpass/bandstop by selecting.
> is "cascade" the best way ? if yes — how ?

I did this with a cascade~. All filters set to peak/notch. A note on
would set a positive gain dependent on the velocity, note off would set
the gain to 0dB. The note handling would be easy with poly (without the

To use poly~ and a single biquad~ is also possible of course, but would
pose the problem of being always in parallel, and a switched on note
would also change the level of the other frequency parts which you would
prefer to pass unaltered (I guess…)


Stefan Tiedje————x——-
–(_|_ —-|—–|—–()——-
— _|_)—-|—–()————–

Jul 07 2008 | 9:59 am

bdhm schrieb:
> hmm .. also "midiin" together with "midiparse" are not always sending
> a list of polyphonic notes.

What is a list of polyphonic notes? Polyphony in the Midi world (as well
as in the real world) is notes after another, not exactly at the same
time. Each note on is seperate, if there is no note off, its still on…

You can create a list of pitches to be interpreted as a chord, but
analysing notes from midi in doesn’t provide chords as lists, you have
to do that yourself if you need it (but you might not really need it for
your purpose…)


Stefan Tiedje————x——-
–(_|_ —-|—–|—–()——-
— _|_)—-|—–()————–

Jul 07 2008 | 1:59 pm

hi Stefan,

thanks! for your reply.

I decided to do the MIDI-note work with "poly" and to use
10x "biquad~" filter.

this works — but the note-off is not always working.
hmm any tip ?

+ attached patch.


Jul 07 2008 | 2:52 pm

Jul 07 2008 | 5:23 pm

bdhm schrieb:
> + attached patch.

nice you found a solution, but:

please don’t name a patch after a standard object, it could screw
peoples setup. Just "copy compressed" and paste into the mail, way better…

Stefan Tiedje————x——-
–(_|_ —-|—–|—–()——-
— _|_)—-|—–()————–

Jul 08 2008 | 9:08 am

this patch does what you’re after i think


Jul 08 2008 | 6:59 pm

hello oli,

thanks a lot,

much nicer solution!!

good moment to learn more about poly~

@ Stefan Tiedje:
thanks & greetings from Berlin.

best wishes,

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

Forums > MaxMSP