summaryrefslogtreecommitdiff
path: root/bundle.js
diff options
context:
space:
mode:
Diffstat (limited to 'bundle.js')
-rw-r--r--bundle.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundle.js b/bundle.js
index 968d6d0..468143d 100644
--- a/bundle.js
+++ b/bundle.js
@@ -24737,7 +24737,11 @@ var Sampler = function () {
time = time || _tone2.default.now();
player.playbackRate = freq / best.sample.root;
- player.start(time);
+ if (player.loaded) {
+ player.start(time);
+ } else {
+ console.log('loading');
+ }
return player;
}
}]);