So far, I have been able to calculate dB of real time audio stream. On the basis of the highest dB, I have selected the loudest audio stream from multiple audio streams. My problem arises when there is a sudden change in dB level in other audio stream and switching takes place from one stream to another stream. How should I make this switching smooth?
Remember, I have been taking an audio signal or audio stream of 40ms(640 bytes) from various android smartphones.