Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set various sound effect treble,echo in android?

I am trying to set sound effect treble and echo for my audio player project in android but i am not getting how to do it.

I already searched google a lot and asked a question also related to it, but that thing not working now.

Any help will be appreciated well............... Thanks in advance :)

like image 268
Animesh Mangla Avatar asked Nov 26 '25 13:11

Animesh Mangla


2 Answers

There is a BassBoost but no TrebleBoost already worked out in Android.

Instead you will nedd to instantiate an Equalizer object. Query the object for the amount of frequency bands (usually they're 5) and use setBandLevel to boost the higher bands.

like image 99
brunorey Avatar answered Nov 28 '25 01:11

brunorey


In order to set the various sound effects in your audio player you can take reference from this . It is the best solution i found for your problem. Hope it helps !!

like image 30
Karan Khurana Avatar answered Nov 28 '25 01:11

Karan Khurana



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!