I am using some mp3 files in my android aap. Its volume is very low. How can i amplify its sound by 3 times programmatically.
Asked
Active
Viewed 2,069 times
2 Answers
1
If you want to boost the mp3 sound programmatically then it will cost a lot cpu usage, (which for a low end device is a serious matter) and also you have some pre-loaded mp3 to play so my suggestion is to pre-increase the sound volume of those mp3s (using some sound editing software like audacity) and then use those in your app.

orchidrudra
- 1,172
- 1
- 12
- 30
-
actually the mp3 files are very small in size, less than 20kb each. and we have done same thing in apple (IOS) it workes fine. but i dont know how to do it in android – Androider May 29 '12 at 08:13
-
0
If you use SoundPool, the play function includes a volume parameter. Does that help? You should boost the sound in the file itself though as @orchidrudra suggests as this will only let you make it quieter.

Edwin Evans
- 2,726
- 5
- 34
- 47