Search code examples
androidmedia-playerbass

How to implement bass effect in android?


I want to develop a bass effect for media player.Can any body help me regarding this..


Solution

  • First step is to isolate the low-frequency components. You will need an FFT to do this... there's one linked to this older S/O question.

    After you've got the frequency representation of your audio data, alter the magnitudes of the low-frequency components as you see it, run the inverse transform to convert it back to audio samples, and pass it to the audio hardware for playback.