This is an addon for HaxeFlixel
A simple (I hope) FlxSprite
extension that allows for rendering waveforms from audio.
Check out the sample for instructions on how to use.
-
Install via haxelib git:
haxelib git flixel-waveform https://github.com/ACrazyTown/flixel-waveform
-
And then include it in your Project.xml:
<haxelib name="flixel-waveform">
-
Finally, import it in your code when needed:
import flixel.addons.display.waveform.FlxWaveform;
Should work on any target that exposes raw audio buffer data (native targets). Due to the lime handles audio on HTML5/Flash, this addon does not work on those targets. I'm looking into possible solutions.