Tone.Offline(() => {
const oscillator = new Tone.Oscillator().toDestination().start(0);
}, 2).then((buffer) => {
var player = new Tone.Player(buffer).connect(Tone.getDestination())
player.start();
});
This does not produce any sound:
Tone.Offline(() => {
const oscillator = new Tone.Oscillator().toDestination().start(0);
}, 2).then((buffer) => {
var player = new Tone.Player(buffer).connect(Tone.getDestination())
player.start();
});
Tone.Offline(() => {
const oscillator = new Tone.Oscillator().toDestination().start(0);
}, 2).then((buffer) => {
var player = new Tone.Player(buffer).connect(Tone.getDestination())
player.start();
});
I would have expected both of them to play. I dont see any errors produced.
Describe the bug
This produces a sound:
This does not produce any sound:
I would have expected both of them to play. I dont see any errors produced.