Merge branch 'main' into fix-tutorial-bugs
This commit is contained in:
commit
85d0d06cab
33 changed files with 3796 additions and 2764 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { logger } from '@strudel.cycles/core';
|
||||
import { logger, toMidi } from '@strudel.cycles/core';
|
||||
import { getAudioContext } from './index.mjs';
|
||||
|
||||
const bufferCache = {}; // string: Promise<ArrayBuffer>
|
||||
const loadCache = {}; // string: Promise<ArrayBuffer>
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ function getDelay(orbit, delaytime, delayfeedback, t) {
|
|||
if (!delays[orbit]) {
|
||||
const ac = getAudioContext();
|
||||
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());
|
||||
delays[orbit] = dly;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue