Skip to content

v1.2.0

Compare
Choose a tag to compare
@lpaolini lpaolini released this 16 Feb 22:32
· 102 commits to main since this release

Changed

  • AudioChannel
    • Method trigger has been removed and its functionality is now provided by AudioTrigger.
  • Trigger
    • Replaced by AudioTrigger.

Fixed

  • Strip
    • Fixed paintNormalizedSize method.
  • JoinedStrip
    • Fixed paint method when indexFrom falls in strip 1 and indexTo falls in strip 2.
    • Gap has been replaced with a StatefulStrip, so that its behavior is consistent with the visible portion of the strip.

Added

  • Strip
    • Implemented buffered method for creating a buffered version of a Strip, useful for those effects which alter the underlying Strip using blur, fade, shift, etc.
  • Implemented new Strip implementation SubStrip for addressing a portion of another Strip.
  • Implemented AudioTrigger for allowing beat detection over more than one loop, independently for concurrent effects.
    • The triggered method returns true if a beat was detected since the last call (or since the last call to the reset method).
    • Optionally, random triggers can be added (separately for signal detected or not), specifying the number of desired events per second.
  • AudioSensor
    • implemented a separate low-pass-filtered RMS sensor for feeding the beat detector, which now responds to low frequencies only.
  • Fx
    • implemented strip, audioChannel and state as protected members, so that they don't need to be redefined for each effect implementation.
  • Matrix fx
    • Reimplemented without timers, for maximum smoothness.
  • PeakMeter fx
    • Reduced flashing on beat detected.
  • VU2 fx
    • Implemented new effect.