Skip to content

Commit

Permalink
Version 0.1.11 - fix sampler looping bug #44. billorcutt/i_dropped_my…
Browse files Browse the repository at this point in the history
  • Loading branch information
billorcutt committed Jan 14, 2019
1 parent 5b0bd3d commit 049bac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/cracked/cracked.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@
var offset = (currNode && currNode.loopStart && __.isNum(currNode.loopStart)) ? currNode.loopStart : 0;
var duration = (currNode && currNode.loopEnd && __.isNum(currNode.loopEnd)) ? currNode.loopEnd - offset : 0;
var time = _ignoreGrid ? _context.currentTime : _loopTimeToNextStep;
if(duration) {
/*if(duration) {
currNode.start(time,offset,duration);
} else if(offset) {
} else*/ if(offset) {
currNode.start(time,offset);
} else {
currNode.start(time);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cracked",
"productName": "Cracked",
"version": "0.2.11",
"version": "0.2.12",
"main": "main.js",
"description": "Web audio, cracked.",
"keywords": "Web audio, synthesis, sound, music",
Expand Down

0 comments on commit 049bac9

Please sign in to comment.