p5.sound brings the Processing approach to Web Audio and p5.js. Demos:
this is a release made by @montoyamoraga during their p5.sound.js fellowship it is a test release made with grunt after updating npm packages to newer versions
p5.soundFile.play()
method
https://github.com/processing/p5.js-sound/pull/542
Class
style rather than being written as function
style.let
, const
keywords and many other es6+ features.We have deprecated functionality in an effort to focus the API
adds userStartAudio()
- a different approach to starting the audio context on a user gesture that works with Chrome's new autoplay policy and gives the user control over whether/how to handle the success callback / Promise. https://github.com/processing/p5.js-sound/commit/16407a3184fca78c6686918d71a34d9a2e9ff9cd
dispose
methods free up resources, and to enable testing in headless ChromeUpdates since 0.3.2
Additions
Updates
Fixes
p5.sound v. 0.3.0
setADSR
setRange
ramp
setExp
new methods for p5.FFT: getCentroid
p5.sound v. 0.2.17
p5.sound v. 0.2.16
p5.sound v 0.2.15
p5.sound v 0.2.14
p5.sound v. 0.2.13
p5.sound v. 0.2.12
p5.sound v. 0.2.11
p5.sound v. 0.2.1
.waveform()
always scaled -1 to 1, can return p5 Array or Float32Array ^.spectrum()
db modep5.sound.js v0.1.9 2015-05-02
p5.sound.js v0.1.8 2015-02-27
p5.sound.js v0.1.7 2015-01-26
p5.sound.js v0.1.6 2014-12-26
p5.sound.js v0.1.5 2014-12-05
p5.sound.js v0.14 2014-08-18