Skip to content Skip to sidebar Skip to footer

How To Implement The Equalizer With My Mediaplayer Activity

I have created my online radio in media player. I have to set equalizer for the variable sound effects like bass, treble, reverb and so on, and my media player is in main Acitvity.

Solution 1:

Crate an Equalizer

Equalizerequalizer=newEqualizer(0,mediaplayer.getAudioSessionId());
equalizer.setEnabled(true);
equalizer.getNumberOfBands(); //it tells you the number of equalizer in device.
equalizer.getNumberOfPresets();//like Normal Classic,Dance Flat,Folk Heavy Metal,Hip Hop,Jazz, Pop, Rock

Link

Android Visualizer implementation crashhttps://developer.android.com/reference/android/media/audiofx/Equalizer.htmlhttp://www.101apps.co.za/articles/perfect-sound-using-the-equalizer-effect-a-tutorial.html

Post a Comment for "How To Implement The Equalizer With My Mediaplayer Activity"