v2.4.0-preview
This is a preview build of the upcoming 2.4.0 version release of the Sound library, available for manual download/installation until it gets pushed to the contribution manager.
How to test
Download sound.zip and extract the sound
directory into your sketchbook's libraries
folder (this is usually in Documents/Processing/libraries/
). (On Windows, you will need to close Processing while doing this.)
We are particularly interested to know whether old sketches of yours that use the sound library still work as expected using the new library version. PLEASE REPORT ANY AND ALL BUGS, CRASHES OR EXCEPTIONS YOU GET WHILE USING THE CURRENT PREVIEW BUILD AT THE FOLLOWING LINK: #89
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()
andamp()
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)