I want to mix 10 channels of 8 bit audio (sin table) and play them using an 8 bit DAC. What is the correct way to sum these to avoid maxing out the DAC all the time?
Each channel has an independant volume control ranging from 0 to 255 (0 to 1.0). I can limit the max volume for each channel to 32 which seems to work ok. You can hear each channel and there isn't tool much clipping. Of course, the waves sound noisy.
Is there a better way to sum these voices?
Thanks.
Each channel has an independant volume control ranging from 0 to 255 (0 to 1.0). I can limit the max volume for each channel to 32 which seems to work ok. You can hear each channel and there isn't tool much clipping. Of course, the waves sound noisy.
Is there a better way to sum these voices?
Thanks.