From c31108b27156d2d1f2c50b57179828da9725f615 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 21 Feb 2018 14:50:40 +0100 Subject: loading --- bundle.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bundle.js') 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; } }]); -- cgit v1.2.3-70-g09d2