commit | 291c0204b784039be83ce8ddebefb6a87849224d | [log] [tgz] |
---|---|---|
author | Roman Birg <roman@cyngn.com> | Mon Jun 22 14:10:33 2015 -0700 |
committer | Roman Birg <roman@cyngn.com> | Tue Jun 23 17:55:20 2015 -0700 |
tree | 2959fa567bfa18c04c670775cfd3086518321dff | |
parent | 232ef21f54869228c48ebe7f05f00f48108b2f32 [diff] |
visualizer view: optimize allocations during drawing Change-Id: I7d4c081b250953769768d0848fab8062ec9f9afc Signed-off-by: Roman Birg <roman@cyngn.com>
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:
This is an example which uses the FFT data rather than the raw audio waveform
Draws the audio waveform on screen, pulsing on prominent beats
Draws the audio waveform in a circle, with the radius changing over time
A combination of all the above
Released under the MIT license.