Skip to content

v2.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Mar 17:25
· 2 commits to main since this release

What's new in this version

Fixes

  • no more memory leaks/stutter/lag/crashes when repeatedly playing back audio samples (#17, #74) and envelopes (#29)
  • improved audio file decoding support for mp3 (#32), ogg (#53), 8 bit wav files (#15) and more
  • added support for 24 bit audio interfaces on Windows (#85)
  • all-around much improved documentation, see the Sound library web reference

New features

Please refer to the Javadoc reference for now, the Processing website reference will only be updated at the time of the official release

  • a new AllPass filter, contributed by @pixmusix (#78)
  • FFT.analyzeSample() method, contributed by @damaru-inc
  • flexibly route sounds to any output on multi-channel devices through the brand new MultiChannel class (with example sketch)
  • ability to choose PortAudio drivers on all platforms using the new MultiChannel.usePortAudio() method
  • a brand new PitchDetector class with example sketch
  • control the resonance/Q factor of filters through the new res() method (#46)

With many thanks to all contributors and testers, in particular @trackme518 and @daniel-tran

See the full changelog

Experimental features

  • Frequency and amplitude modulation of oscillators by passing other oscillators to freq() and amp()

Known issues

  • laggy sound when playing over AAC bluetooth devices on OSX
  • Android currently only supports decoding of 16 bit wav and aiff files (#86)