visualizer view: optimize allocations during drawing

Change-Id: I7d4c081b250953769768d0848fab8062ec9f9afc
Signed-off-by: Roman Birg <>
1 file changed
tree: 2959fa567bfa18c04c670775cfd3086518321dff
  1. src/
  2. .gitignore

Android Visualizer

A View subclass that Takes the input from the Android MediaPlayer and displays visualizations, like in iTunes or WinAmp

The Visualizer is designed to be modular, so it is very easy to combine visualizations to create more complex effects.


It's easy to create your own custom visualizations or combine/edit existing ones. Below are a few examples:

A pair of frequency distributions.

This is an example which uses the FFT data rather than the raw audio waveform

Line visualization

Draws the audio waveform on screen, pulsing on prominent beats

Circle visualization

Draws the audio waveform in a circle, with the radius changing over time

Combined visualization

A combination of all the above


Released under the MIT license.