Any way to examine FlxSound Amplitude as it plays?



  • Hey everyone.

    Does anyone know if there is a way to get the amplitude of the sound at the current time as it plays?

    I know about these:
    sound.amplitude
    sound.amplitudeLeft
    sound.amplitudeRight

    but those don't update as the sound plays. they are static.

    I'm trying to visualize sound based on it's current waveform volume, and there doesn't seem to be a way to do that in the FlxSound interface?

    Anyone have any ideas? Thanks!


Log in to reply
 

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.