mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 13:38:40 +00:00
format
This commit is contained in:
parent
087f574355
commit
a1ec8545fb
@ -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…
x
Reference in New Issue
Block a user