From 92542d2601f8ee9666d0a4855776136c265d1e34 Mon Sep 17 00:00:00 2001 From: Jason Sigal Date: Mon, 6 Jan 2020 00:46:47 -0500 Subject: [PATCH] fixes and improved inline examples - update inline examples: https://github.com/processing/p5.js-sound/pull/403 - p5.SoundFile: stop() won't stop a soundfile loop https://github.com/processing/p5.js-sound/pull/401 - p5.SoundFile: addCue() not triggering function calls https://github.com/processing/p5.js-sound/pull/371 - p5.SoundFile: jump() only called if soundfile is playing https://github.com/processing/p5.js-sound/pull/404 - p5.SoundFile: save() bugfix https://github.com/processing/p5.js-sound/pull/406 --- lib/addons/p5.sound.js | 1811 ++++++++++++++++++-------------- lib/addons/p5.sound.js.map | 2 +- lib/addons/p5.sound.min.js | 4 +- lib/addons/p5.sound.min.js.map | 2 +- 4 files changed, 1030 insertions(+), 789 deletions(-) diff --git a/lib/addons/p5.sound.js b/lib/addons/p5.sound.js index 876b4334e5..8580643c7b 100644 --- a/lib/addons/p5.sound.js +++ b/lib/addons/p5.sound.js @@ -1,41 +1,47 @@ -/** [p5.sound] Version: 0.3.12 - 2019-11-18 */ +/** [p5.sound] Version: 0.3.12 - 2020-01-06 */ /** - * p5.sound extends p5 with p5.sound extends p5 with Web Audio functionality including audio input, * playback, analysis and synthesis. - *

- * p5.SoundFile: Load and play sound files.
- * p5.Amplitude: Get the current volume of a sound.
- * p5.AudioIn: Get sound from an input source, typically - * a computer microphone.
- * p5.FFT: Analyze the frequency of sound. Returns - * results from the frequency spectrum or time domain (waveform).
- * p5.Oscillator: Generate Sine, + *

+ *