P5.js Sound Versions Save

p5.sound brings the Processing approach to Web Audio and p5.js. Demos:

v1.0.2

1 year ago

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

3 years ago
  • 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

3 years ago

We are delighted to announce the new version of the library , following are the reports of changes brought

Bug Fixes

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 https://github.com/processing/p5.js-sound/pull/574

Documentation Improvements

Deprecations

We have deprecated functionality in an effort to focus the API

  • p5.Signal
  • p5.SoundFile.processPeaks

0.3.12

4 years ago

New

Fixes

0.3.10

5 years ago

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

0.3.9

5 years ago
  • 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

5 years ago
  • 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

6 years ago

Updates since 0.3.2

Additions

Updates

  • Refactor effects to extend p5.Effect

Fixes

v0.3.0

8 years ago

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

9 years ago

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)