Octave selector in an 8-voice, 3-oscillator polyphonic synth
Hi all, I'm trying to build my first polyphonic, and I would like to be able to select the octave of the oscillators.
Unfortunately I can't, I tried to add +12 +12 -12 and -24 to the midi notes before sending them to mtof, but it doesn't work.
I also tried to multiply the frequency 2 3 0.5 and 0.25 before sending it to the os
Try [* 2]. I think that is how to increase by one octave. (disclaimer: I'm pretty new to Max so i might. be wrong!)
i dont see any of that in your patch, but +12 to notenumber or *2 to frequency is of course correct.

the missing info is probably inside unshared poly~
I haven't tried [poly~ @target all] :0
question is - which voice in which of 3 synths should get transposed ?
thanks to all for the answers.
I would like to be able to move the octave of all 3 polyphonic oscillators, I tried both to multiply the mtof signal by 2 and by 0.25 and I also tried to add 12 midi notes and remove them but nothing, if I do it it stops playing.
You probably don't know how to route midi into poly~
and also can't explain exactly what should get transposed and when.
if you want to shift midi notes input, that should be transposed before they enter poly voices,
and you need to keep trace of original notes in order to turn them off
when they get released.
If you want to transpose oscilators directly and ignore note input,
then use target messages. or send - receive .
that would behave like pitch bend...
Still you don't say if you want to transpose ALL 3 synths and ALL voices
using same value, or individual synth, or even per voice.
the missing info is probably inside unshared poly~
There are a lot of very helpful folks here
some attempt to to teach (as well as learn)
please read carefully again bold type
the missing info is probably inside unshared poly~
i think the the missing poly patcher has been eaten by donald yoon!
but seriously, if the patch works with note number 60, it should also work with notenumber 60+12=72.
donald yoon!

...
if you take a look in here :
and this

.....
I am quite sure very basic mistakes are in the patches,
dealing with messages to poly etc etc
but as soon as one tries to help,
communication gets "gated"
Thank you all for your help and I apologize if I answer late.
Now I'll try to attach the poly~ too.
I'll try to explain myself better, I'm trying to build an 8-voice polyphonic synthesizer.
I built a first oscillator with waveform selection and inserted it into the poly~ object, then I replicated the poly~ 3 times so as to have 3 polyphonic oscillators.
Now I would like to have for each oscillator and therefore for each poly~ the possibility of modifying the octaves (so as to be able to put an oscillator
It seems that I solved it this way, although every now and then some active notes remain

this should solve your octave problem
no switch

thanks very interesting, could you explain to me what vexpr is?
sorry. really bad flu right now
you get the same result without expression

Your device and poly are not done well.
you should not use send and receive in Live anyway like that,
but also in max you need to separate that 2 copies of poly~ objects
and each poly voice.
what effect should this make :


and so on.
if you want to shift octaves for all poly~ voices ,
forget fiddling with midi notes, but apply math here :

you need 0.25 0.5 1 2 4 for -2 -1 0 +1 +2 octave shift
I don't think I understood well but I'll try, so first I separate the poly objects creating 3 distinct versions (poly_voices_ 1) (poly-voices_2) (poly_voices_3).
For the octave I managed to solve it following what WIL said, it works but I can't do it in real time, if I change octave while playing the note gets stuck and I have to reload the poly.
as for send and return I don't really understand what to do, in the meantime thanks, I'll try to figure it out later.
And here I am again... thank you all for the help.
my little synth is going, but I have a problem.
I tried to envelope the filter and I have this problem, it seems that the filter is jerking now.
PATCH:
you forgot my advice to remove send and return from poly instances ?
and to use s/r ONLY from outside in case you want to set some value for ALL
instances
I don't see how that synth could work.
Can you describe what problems you have with the filter and why ....
I am not watching any youtube stuff.
here every received note retriggers adsr
as well as any filter freq change .
You expect that to work smoothly ?
when you hit a chord or arpeggiate ?

even if input would get tamed,
setting frequency from zero to set value can not really produce wanted sound.
Maybe you need to set range which adsr controls.