simplify web example
This commit is contained in:
parent
2854f0cf34
commit
c23d7850c7
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue