Skip to content

Releases: ACrazyTown/flixel-waveform

flixel-waveform 2.1.2

Choose a tag to compare

@ACrazyTown ACrazyTown released this 09 Jul 12:59
263da84

2.1.2

  • 🛠️ Fix waveforms of the same size reusing the same graphic.

flixel-waveform 2.1.1

Choose a tag to compare

@ACrazyTown ACrazyTown released this 24 May 15:53
99f5c86

2.1.1

  • 🛠️ Fix crashes when using single channel (mono) audio.
  • 🛠️ Fix waveform not rendering because some properties were outside of their intended range.
  • 🛠️ Fix waveform overflowing outside of its intended area.

flixel-waveform 2.1.0

Choose a tag to compare

@ACrazyTown ACrazyTown released this 02 May 23:19
174ee81

2.1.0

  • Added support for making waveforms from streamed sounds.
    • No additional work on the user side needs to be done. If you pass a streamed sound to a FlxWaveform.loadDataFrom...() method, it will automatically detect and load it.
    • Use the FlxWaveformBuffer.fromVorbisFile() method to create an audio buffer from a lime.media.vorbis.VorbisFile.
  • Added the FlxWaveform.waveformBuffer property that exposes the waveform's audio buffer.
  • Added the FlxWaveform.waveformOrientation property that controls whether the waveform should be drawn horizontally (left to right) or vertically (top to bottom).
  • Added the FlxWaveform.waveformChannelPadding property that controls the padding between waveform channels when the FlxWaveform.waveformDrawMode is set to SPLIT_CHANNELS.
  • Added new features to the playground sample.
  • 🛠️ Fixed waveform appearance.
    • Previously the waveform would only store the peak value of an audio segment. This caused the waveform to always appear symmetrical. As part of the internal data rework, this has now been corrected and the waveform now keeps track of both the minimum and maximum values of a segment. As a side effect, this also makes the waveform accurate when visualizing very small durations.
  • 🛠️ Fixed waveform desync.
  • 🛠️ Fixed crash due to FlxWaveformBuffer trying to access a property on a null Lime audio buffer.
  • 🛠️ Adjusted FlxWaveform's constructor arguments.
    • x and y are now optional.
    • width and height are now mandatory.
  • 🛠️ Updated the example project to include new features from this release.
  • 🛠️ FlxWaveform.waveformDuration now defaults to 5 seconds (5000ms) instead of 0.
  • 🛠️ Various documentation adjustments.
  • 🛠️ Fixed weird crop on the showcase image.

Commits since previous version: 2.0.0...2.1.0

flixel-waveform 2.0.0

Choose a tag to compare

@ACrazyTown ACrazyTown released this 15 Feb 16:35
732e61e

2.0.0

  • Added waveformTime and waveformDuration
    • Set waveformDuration to the length (in miliseconds) you want to visualize.
    • Set waveformTime to set the audio time (in miliseconds) the waveform will start at.
  • 🗑️ Removed setDrawRange() in favor of waveformTime and waveformDuration
  • Added waveformBarSize, waveformBarPadding,
    • Allows for more customizable waveform designs!
    • Increase the bar size for more blockier waveforms which are also less expensive to compute
  • Added waveformRMSColor, waveformDrawRMS
    • Allows for visualizing the RMS (root mean square) of the audio data.
    • The RMS represents the average/effective loudness of audio.
  • Added waveformDrawBaseline
    • Simply draws a line in the middle of the waveform to represent 0
  • Added SINGLE_CHANNEL(channel) to WaveformDrawMode to allow drawing a single channel across the entire waveform area.
  • 🛠️ Moved flixel.addons.display.waveform.BytesExt to flixel.addons.display.waveform._internal.BytesExt
    • This was never meant to be a public class anyways...
  • 🛠️ A good chunk of code was refactored, so probably quite a few bug fixes?