Show HN: Beats, a web-based drum machine
160 points| kinduff | 1 month ago |beats.lasagna.pizza
I've been an avid fan of Pocket Operators by Teenage Engineering since I found out about them. I even own an EP-133 K.O. II today, which I love.
A couple of months ago, Reddit user andiam03 shared a Google Sheet with some drum patterns [1]. I thought it was a very cool way to share and understand beats.
During the weekend I coded a basic version of this app I am sharing today. I iterated over it in my free time, and yesterday I felt like I had a pretty good version to share with y'all.
It's not meant to be a sequencer but rather a way to experiment with beats and basic sounds, save them, and use them in your songs. It also has a sharing feature with a link.
It was built using Tone.js [2], Stimulus [3] and deployed in Render [4] as a static website. I used an LLM to read the Tone.js documentation and generate sounds, since I have no knowledge about sound production, and modified from there.
Anyway, hope you like it! I had a blast building it.
[0]: https://teenage.engineering
[1]: https://docs.google.com/spreadsheets/d/1GMRWxEqcZGdBzJg52soe...
[3]: https://stimulus.hotwired.dev
[4]: http://render.com
turbotim|1 month ago
It's been a really interesting way to understand the elements of putting together music for me. I started off thinking surely it can't be that hard to make a simple way of making music but as I added more and more functionality I found it tricky to keep the UI simple. I'm still plugging away and the challenge of chasing simplicity is what's keeping me going.
kinduff|1 month ago
Your sounds are very nice too, are you synthesizing them too?
adrianwaj|1 month ago
To really make it interesting, have a way to switcheroo the drum tracks of some cloud music to layer in one's own version instead.
Voltage|1 month ago
Fun!
I'd love to be able to add triplets.
ofrzeta|1 month ago
https://www.youtube.com/watch?v=B2xAjxpwFmw
kinduff|1 month ago
dworks|1 month ago
lagniappe|1 month ago
darkwater|1 month ago
Beside this, very cool!
exodust|1 month ago
yellowapple|1 month ago
ofrzeta|1 month ago
metalman|1 month ago
like the online one here as well, but does have static glitches.
https://f-droid.org/en/packages/se.tube42.drum.android/
yochem|1 month ago
One small improvement: could you disable the "double tap to zoom" on mobile browsers? This happens often when you press multiple squares closeby. Should be one line of css:
skupig|1 month ago
Fun stuff! It would be nice to be able to make longer patterns. Maybe by having triggers that play randomly or every nth loop, like a lot of drum machines do.
https://beats.lasagna.pizza/?name=hakkernuse&bpm=141&i0=K100...
ajxs|1 month ago
utopiah|1 month ago
PS: didn't check it but being a PWA to work offline would be quite neat, just in case the subway or train goes through a spot without connectivity.
djmips|1 month ago
bracketfocus|1 month ago
https://erikburt.github.io/TSequencer/
fallinditch|1 month ago
Firefox on Android - seems to work perfectly.
Any plans to develop this further? I'm not sure how doable this is but I'd love to be able to program African polyrhythms on my phone.
I think the main dev challenges would be:
- add swing and humanization
- layering the polyrhythms on separate tracks
- adding different time signatures, e.g. 12/8 is common for African polyrhythms.
- allow independent cycle lengths per track
A good resource for further reading - https://djemberhythms.com/books/
fatherwavelet|1 month ago
I notice right away how I am focused on the specific sound I am looking at compared to the step row that feels more focused on the pattern overall.
You could also make it so it plays samples for the drums instead of synthesizing them directly but I do like the default sounds too.
oniony|1 month ago
nilram|1 month ago
999900000999|1 month ago
I want a way to add a chiptune piano with different notes, but this is already awesome!
igleria|1 month ago
hmokiguess|1 month ago
kinduff|1 month ago
chaosprint|1 month ago
https://glicol.org/demo#minitechno
bicepjai|1 month ago
bicepjai|1 month ago
ferg-in-japan|1 month ago
myky22|1 month ago
So easy to use. Would love to see some bass lunes in the future.
I normally use my OP-XY when improvising.
hmcamp|1 month ago
fooqux|1 month ago
brikym|1 month ago
MintyPyro|1 month ago
cyrusradfar|1 month ago
epiccoleman|1 month ago
millzlane|1 month ago
zerr|1 month ago
kinduff|1 month ago
ssoydan|1 month ago
Igor_Wiwi|1 month ago
beratbozkurt0|1 month ago
kinduff|1 month ago
juicytip|1 month ago
[deleted]