simplify web example

This commit is contained in:
Felix Roos 2024-02-23 14:30:07 +01:00
parent 2854f0cf34
commit c23d7850c7

View File

@ -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>