I’m currently using a Juce SynthesizerVoice class for my oscillators and I got controls like detune, random phase to work. However, I realized that although the synthesizer class is pretty good at avoiding clipping, when running 10 oscillators, the output clips and gets distorted. So to solve this problem I tried dividing the sample value by the number of oscillators currently running, but I realized as I increase the number of voices the sound actually gets quieter instead of the same.
Why is this happening and how can I fix it? Also how do mainstream synthesizers like sylenth1 or serum manage the number of oscillators? I realized when I increase the number of “voices”(oscillators) in sylenth1 or serum without detune/random phase, the output actually gets a bit louder and doesn’t stay the same level. If you can point me to any articles/links for oscillator volume management that’d also be great