Skip to content

Releases: processing/p5.js-sound

v.1.0.2

05 May 21:43
dfd8784
Compare
Choose a tag to compare

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

26 May 03:07
17987e7
Compare
Choose a tag to compare
  • fix drywet function bug #606
  • fix function name in documentation #603
  • fix repeat initialization of audioWorklet #593
  • fix issue with p5.Score that prevented parts from being passed as argument #543
  • renames: outputVolume method and Main class #610

v1.0.0

26 May 03:03
17987e7
Compare
Choose a tag to compare

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 as function 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

02 Apr 00:05
bdab327
Compare
Choose a tag to compare

New

Fixes

0.3.10

10 Jan 14:36
ac13cca
Compare
Choose a tag to compare
0.3.10 Pre-release
Pre-release

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. 16407a3

0.3.9

08 Sep 18:53
9f84ca5
Compare
Choose a tag to compare
  • add save and getBlob methods to SoundFile #312 #315 261ed0c
  • improve AudioIn documentation #310
  • master limiter has -3 threshold and sharp knee #305
  • fix Synth velocity range to prevent clipping/distortion #305 #301

0.3.8

15 Jun 15:32
a7a2a22
Compare
Choose a tag to compare
  • 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

28 Jul 06:35
Compare
Choose a tag to compare

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

04 Feb 19:02
Compare
Choose a tag to compare

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

23 Aug 02:05
Compare
Choose a tag to compare

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)