Balancing polyphonic sounds on the AudioMixer4 object

W5ZZO

Well-known member
I am making yet another synthesizer, and so far so good. I have 16 waveforms into 4+1 mixers, and (as warned in the documentation) when I play many notes at once the sound becomes distorted.
I made a simple balance routine by counting the active voices, then using (1.0/count) and plugging that value into each active mixer channel when notes are added or ended.
I am not convinced that is an effective method, because I perceive a single voice as louder than 2 or more simultaneous voices. The change from 2 to 3 or 3 to 4 seems better.

I am sure my lack of practical experience in the field of audio is showing, but does anyone know a better way to do balance the output of many waveforms?

- Wes
 
Back
Top