Merged
Conversation
Member
Author
|
One potential improvement would be to wrap the text in a conditional like Or or, maybe there is a less verbose way... |
Member
Author
|
This may be worth discussing (just updated) but I am going to merge and if anybody is inspired to iterate on examples from here, please feel free!!
|
therewasaguy
added a commit
to processing/p5.js
that referenced
this pull request
Jan 6, 2020
- update inline examples: processing/p5.js-sound#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 processing/p5.js-sound#404 - p5.SoundFile: save() bugfix processing/p5.js-sound#406
therewasaguy
added a commit
to processing/p5.js
that referenced
this pull request
Jan 6, 2020
- improved inline documentation - all examples start audio on user gesture processing/p5.js-sound#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 processing/p5.js-sound#369 processing/p5.js-sound#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 - 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 processing/p5.js-sound#404 - p5.SoundFile: save() bugfix processing/p5.js-sound#406 - remove bad console call (processing/p5.js-sound#378)
This was referenced Jan 6, 2020
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
soundFile.play()/oscillator.start()) or by explicitly callinguserStartAudio()https://github.com/processing/p5.js-sound/issues/388letin examples, instead ofvar, but notconst, as discussed in this issue where it was decided to useletexclusively in examples: replace const with let in reference examples p5.js#3877So far, some examples use
soundFile.play()oroscillator.start()rather than a potentially redundant call touserStartAudio(). It might be worth that redundant call, because the difference between methods that call "start" on a WebAudio node (thus enabling audio on a user gesture) and those that do not is pretty obfuscated...