hotfix: weird audion bug
This commit is contained in:
parent
547d925065
commit
4c838aeaca
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ function getDelay(orbit, delaytime, delayfeedback, t) {
|
||||||
if (!delays[orbit]) {
|
if (!delays[orbit]) {
|
||||||
const ac = getAudioContext();
|
const ac = getAudioContext();
|
||||||
const dly = ac.createFeedbackDelay(1, delaytime, delayfeedback);
|
const dly = ac.createFeedbackDelay(1, delaytime, delayfeedback);
|
||||||
dly.start(t);
|
dly.start?.(t); // for some reason, this throws when audion extension is installed..
|
||||||
dly.connect(getDestination());
|
dly.connect(getDestination());
|
||||||
delays[orbit] = dly;
|
delays[orbit] = dly;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue