Could someone please help me before my head ~explodes
I am having quite a lot of trouble with trying to simulate a polyphonic subtractive synthesiser. I have looked at endless ways of achieving polyphonic sounds with both poly~, poly and route and also looked at borax.
The trouble I have I want the user to be able to select what classic he/she wants from the radiogroup (at the moment I only have two selectable oscillators I want to have 4 in the future) and then the output being mixed and filtered using biquad. Also I want the user to be able to have a mix control to mix between the different oscillators.
The patch I had before this one using route and poly would allocate a voice to each oscillator say the user selected a sine and a saw the 1st voice would be the sine and the 2nd voice the saw, I do not want that I want the output of both oscillators to be summed. Is this the way to go so far.
[thispoly~] needs to reside in the poly patcher, not in the subpatcher, when i am
not wrong. or does it work for you? i cant test here.
the [r] objects for the synth will work, but i´d nevertheless recommend
to use [prepend target 0] and additional inlets to the poly patcher for
such synth parameters, you will see why when you need dozens of them.
p.s. instead of [poly] you could also use something like [cycle] or [counter]
to generate the "next target" number. this will mean you have only a
"steal voice" mode, but thats the normal way synths work.
the patch shows that there is not much knowledge about audio DSP but
it also shows that you are good in organizing and planning your project,
so i guess that you will able to find out yourself that in order to mix
different generators you have to use *~ and +~ instead of selector~.
Roman thanks ever so much for your feedback. I used the selector~ object to allow the user to be able to select what waveform he/she wants and then want another patch for the the user to be able to do so again. I am having trouble with generating different voices in the poly~ object. I want it to be able to be polyphonic and up to 5 voices where different waveforms can be summed (up to 4 selectable waveforms) the trouble I am having is being able to sum these waveforms as well as making it polyphonic, I do not want each waveform to be allocated to each separate voice just want there to be an overall sum of each waveform that can be mixed using a mix control. (If that makes sense, I am pretty rubbish at explaining things).
Thank you once again.
Ps would solving my problem by putting multiple selectable waveforms (using selector~) in a sub-patch and using a mix control in that subpatch then using poly to convert to polyphonic?
Solved part of the problem but don’t see how I am going to get polyphonic voices is this the best way to go. I really appreciate the help and sorry for posting again:
----------begin_max5_patcher---------- 2103.3oc0b88aaaCD9Ym+JDL1SCYFh+lZuUz1ADfl0g1ArGJJFTrjczlsjmj bR5JZ9aeTjTNxKVzTxrxJ.IxQzxV28wi28cGOkudwjo2j8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