I take this Android programming class and now I have to work on a project. My applications should be able to add some effects, such as reverb / echo / chorus / etc. to the soundtrack.
I tried using PresetReverb and EnvironmentalReverb , but without success (the application works, but has no effect).
So now I'm trying to find some libraries that I could integrate and use in my project or other solutions. Can anyone give me some advice? (I already looked for him and did not find anything) Thanks in advance!
Later EDIT (here is some code that I used to add the reverb effect from the android audiofx library):
rv = new PresetReverb(1, 0);
rv.setPreset(PresetReverb.PRESET_LARGEROOM);
rv.setEnabled(true);
player.attachAuxEffect(rv.getId());
player.setAuxEffectSendLevel(1.0f);
I checked this solution but failed for me. I checked my code on the Galaxy Nexus from Genymotion - 4.3 - API 18 and Samsung Galaxy Chat B5330.
Here is also the github repository: https://github.com/razvan-tudosa/android-mediaplayer
source
share