Skip to content

Commit

Permalink
Added Playmode 'untilDone' (#223)
Browse files Browse the repository at this point in the history
* added untilDone option on soundFile

* added example and doc
  • Loading branch information
pjryan93 authored and therewasaguy committed Oct 25, 2017
1 parent b1cc2ab commit 30f58dc
Show file tree
Hide file tree
Showing 4 changed files with 1,078 additions and 160 deletions.
3 changes: 3 additions & 0 deletions examples/soundfile_playMode/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ function togglePlayMode(){
if (playMode == 'sustain'){
playMode = 'restart';
}
else if (playMode == 'restart'){
playMode = 'untilDone';
}
else {
playMode = 'sustain';
}
Expand Down
Loading

0 comments on commit 30f58dc

Please sign in to comment.