Forums > MaxMSP

how [poly~] assigns note on/offs?

February 17, 2010 | 10:03 am

Hi board
I’ve built several polyphonic midi-synths in Max in the past, without any problems, but now I’ve built a string-synth which takes takes its trigger via velocity data from an FSR connected to my Arduino. The Arduino code/circuit, and the [serial] elements of my instrument are working fine, monophonically. However, when I make a [poly~] version, the fact that i’m using only peak velocity values (with no zero velocity) to trigger the string means that each previous note is retriggered, resulting in chords sounding, instead of discrete overlapping notes. I made numerous attempts at a polyphonic version and none of them work as intended; the closest i came was to use [makenote] but it’s not perfect. Here’s the mono version, I’d really appreciate it if someone could try to make a polyphonic version. I’ve tried so many solutions my brain is melting…..

— Pasted Max Patch, click to expand. —
February 17, 2010 | 10:39 am

you need to detect when the audio output of the resonator goes below a threshold and use that to determine if a voice is busy or not. see this example, which you can adapt to use your method

1 – save as comb.poly

— Pasted Max Patch, click to expand. —

2 – save as voice06.poly

— Pasted Max Patch, click to expand. —

3 – main patch

— Pasted Max Patch, click to expand. —


February 17, 2010 | 11:26 am

Thanks very much for this (and the tags, which i forgot); can’t test it though, as the connections break when I go: New From Clipboard; perhaps you could be kind enough to reply with a screenshot of each of the poly~ subpatches

February 17, 2010 | 12:31 pm

just for anyone following this for a solution; here’s my compromise – I’m not using note-release or zero-velocities, and this works ok for the moment (this instrument is merely proof of concept) – thanks oli, i’ll investigate your patch further when i need a more interactive and intimate string model.

— Pasted Max Patch, click to expand. —


— Pasted Max Patch, click to expand. —
Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP