Csound Csound-dev Csound-tekno Search About

[Csnd] Amplitude limiting

Date2013-11-17 20:20
FromRoger Kelly
Subject[Csnd] Amplitude limiting
I am building a mobile app that has a number of sample players.  The volume of each is a user controlled slider.

I have a problem in that at some point the amplitude of each gets over the limit and causes distorted sound.

What is the best way to go about keeping the total amplitude where it won't exceed the maximum?

I thought about using limit or dam, but was not sure if that was a good approach.