format
This commit is contained in:
parent
087f574355
commit
a1ec8545fb
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
<button id="stop">stop</button>
|
<button id="stop">stop</button>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { initStrudel } from 'https://cdn.skypack.dev/@strudel/web@0.8.2';
|
import { initStrudel } from 'https://cdn.skypack.dev/@strudel/web@0.8.2';
|
||||||
|
|
||||||
initStrudel({
|
initStrudel({
|
||||||
prebake: () => samples('github:tidalcycles/Dirt-Samples/master'),
|
prebake: () => samples('github:tidalcycles/Dirt-Samples/master'),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ export async function defaultPrebake() {
|
||||||
import('@strudel.cycles/webaudio'),
|
import('@strudel.cycles/webaudio'),
|
||||||
{ hush, evaluate },
|
{ hush, evaluate },
|
||||||
);
|
);
|
||||||
await Promise.all([loadModules, registerSynthSounds()/* , registerSoundfonts() */]);
|
await Promise.all([loadModules, registerSynthSounds() /* , registerSoundfonts() */]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// when this function finishes, everything is initialized
|
// when this function finishes, everything is initialized
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue