about realize play sound out according to voice strength, you know this realize is sth similar as the popular talking tom's function. when there is a loud enough sound, then the app will play out the sound, otherwise the app wont play out the sound.
we know and done most code.
and we know already got the recording voice's energy value.
but when we try to save the high value sound, and try to play it out later, then the sound seems corrupt. pretty strange.
if we dont save the sound, when i speak, the device speak in real time, then the sound is very well.
so i think, we meet problem in save the sound in memory, then the sound was changed, or we do sth wrong.