Have started making a patch that I want to make polyphonic. In monophonic mode it works great and I am getting some nice FM’ish sounds out of it, unfortunately my attempts to make it polyphonic are getting nowhere.
I have redesigned the synth so that the main sound engine is now a seperate subpatch (3opfm – a 3 operator fm synth) with all the external faders now connecting to it as a poly patch. unfortunately when I do this the inputs to the freq mod part of the subpatch do not work anymore and I cannot seem to make it ployphonic no matter what I try (completely stumped on this) I would really appreciate any help/advice anyone can offer on this. I have attached the two neccessary files so that hopefully somebody can help.
It seems you’re a bit confused with poly’s inlets.
You’re trying to use [in~ 1] as the 4th inlet.
but [in~ 1] is the 1st one, as [in 1].
Same thing with in~ 2.
Inlets are used for both signals and data (as shown in poly’s help file).
You might also find it easier to [pack]/[pak] all your controls in the main patch and send them to a single inlet then [unpack] them in your [poly~] patch. You could even set up an osc-like routing system using [prepend somecontrolname] and [route].
Working with polyphony is one of those great end-of-term/final project things because it forces you to think about message passing, managing patches and abstractions, etc.
Unpacking a nice string of control stuff inside the poly~ object is a great piece of advice. You might also pay particular attention to those "mute 0, 1" and "mute 1, 0" messages to the thispoly~ object….
Thanks CH, I was just looking into that so thanks for the tip. I will investigate further.
Thanks, I will have an experiment with the pak commands and try to get that to work, you mention the OSC- like routing ? can you elaborate on that please?
The patch below uses one inlet but prepends each individual input with an identifier which is then used as an arguement to [route] inside the subpatch to seperate them.
----------begin_max5_patcher---------- 936.3ocyX1sbiBBEG+ZySgCWmcGwOi6c6yQmNYPkjxVEcTR2zsSe2WDznXhF Siw5E0TQD9e9cfy4ferRCDjdDW.z+k9S5ZZerRSSzTYCZU2qARPGCiQEhtAB NvXoTvZ4ixPrvWHz8aywgL4vX67Si05PuMk+XZTeU+4pWgdHgPiwLwvAaZL8 .qaqjHwTlF7me.spmRY+XumgkyGH.Q2Czet7oetZU4k0izVn3+xG65AlgOJL APVNNCSizywwXTAd.a0x0skw56clwtKkxnnDgTA+NmfhA2NFJGjBx+DCBzjO GmSGXuz4gPlhCELDYnUAlpjw8aiLFyKYhvgn2GfKP2Ms4hw2EW7mWrfXLT3q CvEOyEAV1LwXoHlDgyudDDK2lnkP66Obo2baGR+2TaFtysYTs8bpsCm41NLe LKqrmonF53injrX7UWvYZXU9i6DmewX74WTjH2mHM1JqkOBjX7a37BBulolo SCzXHNBuiuc4U6prCk+TaIbFtONM7UbTKkoAhv6tkwHkGFto+htqbQsmDJOv cAlxPrJg2ddQGhYauLZTe9NTHt2W9hNGMv9bRTJsTDJuYYy0SGeaprFSm15V zCJJ6BuLKMMN.k+FofDDiU7C70mHJIAwvLhTOlFmdORRVNgxTFqDLCEgXHoP Z4jZWHcqU.J6ATZen8BcyhxUgd45n2YhsA33Skk1eD.mlToPSX2MHCuIo2MJ 8uYYfMLmsowDT2tHfg7eV+EA2t3TtftFNfFM3vw3wQCyamFv1SyYQV4lGhAV qbNm4jbPGmkJ47Wzfy2eoxMuEM2rsWpby46haCjaHmqCb04qjm9r9z4c99EC iaYQCl1OPd6by71ZPdWhZk+lTjKrnQgNaYtUm5qJjSgMF8xF3kAf4f.nZcVq tDlljfkEr.tTJ1lxUhIz9JWQXnkO+xTpH8PdXsDp7R51JxHBWvHzS0N9zor9 7RMU53KjnH0Z0D9ARTVJuhmh5ZrFka8qHaqwHa3hS1liP19KNUCGgp8Vbp1X Dp1YQoZyQpZqIT0UMxku7zvEn2vQa4yBOV4VdxobR.OMUQ2SGesCSxO3a.Jt 5n0mR.c5rhCbLx68XnW785JyUMTn5CeHvoZvU42AoqSr5qgblyCp3U5KjjRe Nyq00i4X+Smxj5hb6afmtomOYynkJb5kpkmyCQqdiQp2nVuW7YL83y7AgO6w HUiYEe9SO8fddOD54LBo5OqvayzCu6TQtiPQatCEwu4yU+mE0+pl -----------end_max5_patcher-----------
Forums > MaxMSP