Releases: processing/p5.js-sound
Releases · processing/p5.js-sound
v.1.0.2
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
v1.0.1
v1.0.0
We are delighted to announce the new version of the library , following are the reports of changes brought
Bug Fixes
- Fallback when AudioWorklet buffer array length is zero
#542 - Remove extra callbacks for SoundFile cue
#449 - Fixed abnormal behaviour of audio output in p5.signal example section
#476 - Fixed error while playing sound through
p5.soundFile.play()
method
#542
Infrastructure Improvements
- Library is re-written in ESM ( ECMASCRIPT MODULES).
- Audio Nodes are written as
Class
style rather than being written asfunction
style. - Library using features of es6 like
let
,const
keywords and many other es6+ features. - Testing architecture has been made more clean and robust.
- All above listed improvements are part of Divyanshu's GSOC-20 Project , more details can be found in his wrap-up-post.
- Improvements in pre-commit-hook action #574
Documentation Improvements
- Fixed broken anchor tags in p5.Audioln
#450 - Fixed typo in p5.fft documentation
#433 - Added documentations for P5.oscillator APIs
#420 - Improved documentation of p5.soundloop
#437 - Fixed broken links in p5.panner3D documentations
#465 - Typo improvements in p5.soundloop reference
#557
Deprecations
We have deprecated functionality in an effort to focus the API
- p5.Signal
- p5.SoundFile.processPeaks
0.3.12
New
- improved inline documentation - all examples start audio on user gesture #403
- AudioWorklet replaces the deprecated ScriptProcessorNode (when available) in p5.SoundRecorder, p5.Amplitude, and p5.SoundFile, as part of @oshoham's GSoC project https://github.com/processing/p5.js/blob/master/developer_docs/project_wrapups/orenshoham_gsoc_2019.md
#369
#373 - p5 library compiled with webpack so it looks a little different and we had to remove comments that were tripping up YUIDoc here in the p5.js repo
Fixes
- p5.SoundFile: stop() won't stop a soundfile loop https://github.com/processing/p5.js-sound/issues/401
- p5.SoundFile: addCue() not triggering function calls https://github.com/processing/p5.js-sound/issues/371
- p5.SoundFile: jump() only called if soundfile is playing #404
- p5.SoundFile: save() bugfix #406
- remove bad console call (#378)
0.3.10
0.3.9
0.3.8
- Many updates to documentation and examples
- protect against errors during duplicate dispose/disconnect calls to ensure
dispose
methods free up resources, and to enable testing in headless Chrome - Deprecate p5.Env in favor of p5.Envelope
- p5.MonoSynth and p5.PolySynth updates and bug fixes
0.3.5
Updates since 0.3.2
Additions
- p5.Effect
- p5.Compressor
- Change p5.FFT size on the fly 6de0770
- 0.3.2: Added FFT log and lin averages - Added functions for liner and logarithmic grouping of the frequency
spectrum and also a function for generating the octave bands dynamically 1a860ca
Updates
- Refactor effects to extend p5.Effect
Fixes
- fix p5.Reverb reverse method
- fix p5.Delay left channel issue
- fix p5.Delay dispose
- 0.3.4: Applying new loadXX _decrementPreload logic to loadSound ea9ef24
- boost freqToMidi by one octave 85fc70c
- fixing processing/p5.js#1739 using MediaDevices.enumerateDevices instead of getSources
- fix #125 for multiple metros and parts
- 0.3.3: oscillator.amp do not cancel scheduled values to allow for scheduling
- 0.3.2: fix #148 AudioContext.prototype.hasOwnProperty
v0.3.0
p5.sound v. 0.3.0
- ensure proper dispose methods for all p5.sound classes
- many improvements to p5.Env
- new methods for p5.Env:
setADSR
setRange
ramp
setExp
new methods for p5.FFT:getCentroid
p5.sound v. 0.2.17
- fix soundfile memory leak
- update osc freq to factor in time
- add error callback to audioIn
- add error handler module
- add error handling for loadSound and createConvolver
- add onended(callback) to p5.SoundFile
p5.sound v. 0.2.16
- remove sketch fix for safari
p5.sound v 0.2.15
- preload fix for loadSound and createConvolver, v0.2.15
- fix for ios9
p5.sound v 0.2.14
- fix for new registerPreloadMethod in core library
p5.sound v. 0.2.13
- add p5.AudioIn getSources(callback) method
- p5.AudioIn listSources is deprecated.
p5.sound v. 0.2.12
- p5.Gain
p5.sound v. 0.2.11
- Safari patch
p5.sound v. 0.2.1
- p5.PeakDetect class (thx @b2renger !)
- p5.SoundFile drag and drop works with p5.File and HTML File API (thx @johnpasquarello !)
- p5.FFT enhancements
.waveform()
always scaled -1 to 1, can return p5 Array or Float32Array ^.spectrum()
db mode- p5.SoundFile.setCue()
- p5.Phrase, Part and Score tweaks for musical timing: callbacks accept time first, then parameter^
- various bug fixes
- ^ breaking changes
p5.sound.js v0.1.9 2015-05-02
- new, more accurate approach to p5.SoundFile.currentTime
- fix bug in Chrome 43+
- fix soundfile loop bug in Chrome
- SoundFile.pause tweaks
- p5.Amplitude can return stereo values
- fix for phonegap/corvoda web view
p5.sound.js v0.1.8 2015-02-27
- p5.SoundFile.jump() does not impact the start/end time for future .play() or .loop()
p5.sound.js v0.1.7 2015-01-26
- p5.SoundFile.play() accepts timeFromNow as first parameter
- Improvements to p5.Part / scheduling. Sequencing callbacks send a time, which should be used to schedule with precision.
p5.sound.js v0.1.6 2014-12-26
- amplitude modulation for p5.Noise and p5.SoundFile
- updating to latest version of Tone (0.3.0)
- fixes for new Tone Signal math
- musical timing (p5.Metro) fix for Firefox
- revamp the p5.Panner: defaults to stereo, 3D version (and web audio panner) is not used
- p5.Noise inherits from p5.Oscillator prototype
- improvements to p5.Env
p5.sound.js v0.1.5 2014-12-05
- p5.Oscillator defauts to 0.5 amp
- using Tone.Signal for signal math, and Tone.Clock for Transport.
- updates to Sequencing objects (p5.Part, p5.Phrase, p5.Score) including documentation for reference pages
- p5.Panner class
- various bug fixes
v0.14
p5.sound.js v0.14 2014-08-18
- Recording: add p5.SoundRecorder class. SoundFile has a .saveSound() method to save as .wav
- Sequencer: p5.Part, p5.Phrase, p5.Score, setBPM() etc (in development)
- p5.Oscillator defauts to 0 amp (better for envelopes)
- p5.Signal class introduced to manage .add, .mult and .scale of audio signals. p5.Oscillator and p5.Env get .add, .mult and .scale methods
- new way to modulate: pass the oscillator or envelope as the parameter, i.e. carrier.freq(mod), or carrier.freq(mod.scale(-1, 1, 400, 600)) (converts to a p5.Signal)