Get amplitude from MediaPlayer using Visualizer
问题 i've been reading another posts about calculate the amplitude in real time from a Mediaplayer, but i have no clear how to get a value useful for me. What i need is a linear amplitude value normalize between 0-100, but as i've watched in another posts they are performing a db calculation which has not much sense, cause they are not normalized to max 0dB value (from How to calculate the audio amplitude in real time (android)): double amplitude = 0; for (int i = 0; i < audioData.length/2; i++) {