diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-02-21 14:50:40 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-02-21 14:50:40 +0100 |
| commit | c31108b27156d2d1f2c50b57179828da9725f615 (patch) | |
| tree | 8be278ccb05a47d3c8fc68eb634425aa7056647b /bundle.js | |
| parent | 486d1d22f64fb930bd15707ffbde10a68f37ea7d (diff) | |
loading
Diffstat (limited to 'bundle.js')
| -rw-r--r-- | bundle.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } }]); |
