Adding some kind of effect, for example, an echo to the sound track using AudioTrack android

Adding some effect, such as an echo sound, using AudioTrack for Android, I want to add it as an echo effect, a robotic effect for my changer application.

if (SELECTED_INDEX > 6) { AudioEffect effect = new AudioEffect(AudioEffect.EFFECT_AUXILIARY /*.EFFECT_TYPE_ENV_REVERB*/ , AudioEffect.EFFECT_TYPE_NULL 0, 0); AudioEffect audioTrack.attachAuxEffect(effect.getId()); audioTrack.setAuxEffectSendLevel(1.0f); //result = true ; effect.release(); audioTrack.release(); 
+4
source share

All Articles