mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
simplify web example
This commit is contained in:
parent
2854f0cf34
commit
c23d7850c7
@ -1,9 +1,8 @@
|
||||
<script src="https://unpkg.com/@strudel/web@1.0.2/dist/index.js"></script>
|
||||
<script src="https://unpkg.com/@strudel/web@1.0.3"></script>
|
||||
<button id="play">PLAY</button>
|
||||
<script>
|
||||
initStrudel({
|
||||
prebake: () => samples('github:tidalcycles/dirt-samples'),
|
||||
});
|
||||
|
||||
document.getElementById('play').addEventListener('click', () => s('bd sd').play());
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user