Forums > MaxMSP

play a biquad~ filter with a MIDI keyboard polyphonic.

July 6, 2008 | 12:48 am


July 6, 2008 | 2:24 am


July 6, 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,
bd


July 6, 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,
bd


July 7, 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
tilde~)

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


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


July 7, 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


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


July 7, 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.

thanks!
bd


July 7, 2008 | 2:52 pm


July 7, 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——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


July 8, 2008 | 9:08 am

this patch does what you’re after i think

oli


July 8, 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,
bd


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