Clone this repo:

Branches

  1. 38d5cf3 VisualizerView: add ability to disable drawing by Roman Birg · 7 years ago lollipop
  2. fc9b944 Revert "visualizer: don't draw fade out paint when there's no content" by Roman Birg · 7 years ago
  3. 3a5b85a visualizer: don't draw fade out paint when there's no content by Roman Birg · 7 years ago
  4. 291c020 visualizer view: optimize allocations during drawing by Roman Birg · 7 years ago
  5. 232ef21 audio-visualizer: tweak visualizer bar alpha by Les Prock · 9 years ago

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.

Examples

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

License

Released under the MIT license.