fix: sampler broke without vibrato
This commit is contained in:
parent
0052d349d9
commit
2a09f9ef0b
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ export async function onTriggerSample(t, value, onended, bank, resolveUrl) {
|
||||||
envelope.connect(out);
|
envelope.connect(out);
|
||||||
bufferSource.onended = function () {
|
bufferSource.onended = function () {
|
||||||
bufferSource.disconnect();
|
bufferSource.disconnect();
|
||||||
vibratoOscillator.stop();
|
vibratoOscillator?.stop();
|
||||||
envelope.disconnect();
|
envelope.disconnect();
|
||||||
out.disconnect();
|
out.disconnect();
|
||||||
onended();
|
onended();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue