fuck it, I'm releasing my databending drum machine TONIGHT
make drum loops with percussive samples procedurally generated from opus codec glitches!~ π₯π₯π»
@SuricrasiaOnline why are you bending data at the soup store
You know, these are short enough strings that you easily encode them in a URL, especially compressed and base64-encoded. That would let people create direct links to their beats with no server-side storage.
(I did that with moo.party and it seemed to work fine.)
@SuricrasiaOnline that's so coooooool
This is *so* cool!
["blortf",99,125,[[81,257,0],[85,16,0],[99,20480,0]],[[-1,0,0]]]
@SuricrasiaOnline god i wanna know how this works. like i wont understand any of it but i would still watch like a ~20 minute video explaining it nontheless
@Dayglochainsaw I'm planning on making such a video... sometime
@SuricrasiaOnline yessssssss
@SuricrasiaOnline I fucking love this, this is so much fun!
I came up with this and I love it: [βdanceβ,66,118,[[1,17,0],[26,768,5],[66,4096,1]],[[-1,-28,0],[83,6,2],[66,8,90]]]
@matthew woah this is awesome, sounds like trailer music for a horror movie
@SuricrasiaOnline neat
[["lppg","nufis","ummp","foof"],41,101,[[142,256,7],[242,16,0],[42,4100,8],[345,65,8],[345,1,7],[41,1024,8]],[[-1,-44,0],[345,55,0],[42,-75,33]]]
@SuricrasiaOnline one more
[["human","trans","rights","are"],18,120,[[147,5120,9],[201,112,0],[306,1024,5],[18,4096,0],[243,1,0]],[[-1,8,0],[243,-13,0],[18,-70,44]]]
@SuricrasiaOnline Nice! Here's what I made:
[["Wooha","reed","niq","helloowo","Whaa"],29,100,[[145,256,5],[284,4353,10],[320,16,5],[446,5,7],[447,16,7],[448,256,7],[445,4096,7],[496,4096,0],[98,16,0],[29,257,0]],[[-1,0,0]]]
@SuricrasiaOnline coffee cup coffee cup
[["bryant","gundam","obsequious","women"],17,140,[[128,4369,12],[136,4369,3],[211,33825,10],[212,1,5],[313,10308,3],[314,4100,10],[317,2080,10],[318,10240,9],[17,49152,7]],[[-1,0,0]]]
@SuricrasiaOnline what a cool drum machine
@SuricrasiaOnline crunchy β
[["instrument","opus","databending","drumkit"],21,120,[[100,4096,5],[221,1,0],[354,257,0],[2,320,10],[18,20480,10],[21,1,7]],[[-1,0,0]]]
@SuricrasiaOnline could you add a share link feature?
@SuricrasiaOnline I have already made a ripoff of the intro to Blue Monday, this thing rules
@SuricrasiaOnline holy shit this is cool
The preset: [["lesbian","trans","gay"],99,115,[[132,16384,0],[133,4096,5],[173,256,0],[101,1025,0],[221,256,0],[221,256,0],[230,257,0],[240,4096,10],[240,64,0],[241,20,7],[101,0,7],[251,256,0],[173,64,7],[285,4112,0],[285,1024,5],[1,256,7],[7,17408,10],[7,68,5],[22,16,0],[22,64,7],[60,257,0],[65,257,0],[68,4160,0],[99,257,0],[99,257,0],[68,92,7]],[[-1,0,0]]]
With a couple of hours fucking around:
@miramira WOAH HOLY SHIT
@miramira @SuricrasiaOnline wot? howww?
πππππ
@SuricrasiaOnline oh that is fun
@SuricrasiaOnline just wishing i could sync this with my daw
@SuricrasiaOnline shared with my musician friend, definitely wanna pass on the good vibes. They seemed to quickly slap something together and found it fun to use!!
music stuff
@SuricrasiaOnline ["cat",73,90,[[1,21845,0],[2,4240,0],[0,4096,7],[3,43690,0],[7,129,0],[19,2324,0],[18,64,0],[22,257,0],[23,9216,5],[32,4369,0]],[[-1,0,20]]]
Made a bit of a jam out of it, not very good but it's something
music stuff
@maris @SuricrasiaOnline damn this rules!
music stuff
@maris @SuricrasiaOnline I like it, and it has cat in it! π
@SuricrasiaOnline nice
@SuricrasiaOnline Thatβs really cool. [["89","MAMOTH","BUN","GAZ","METH","BEER","VOL","GAYA"],42,105,[[142,4624,11],[242,577,11],[342,260,8],[442,61717,7],[542,4096,0],[642,257,10],[742,336,5]],[[-1,20,0]]]
@SuricrasiaOnline is it possible to load the libopus.wasm from a local file, so one could use the drum machine while offline?
@tethre unfortunately you will probably need to host a local server to use it offline (I use `python -m http.server`)
@SuricrasiaOnline That is done only in Javascript? Or is there Pure Data behind or so? Is there a code repository?
@jayrope It was originally going to be entirely javascript, but I noticed that different web browsers decoded opus packets slightly differently, so I rewrote it using a webassembly opus decoder
@jayrope I'll make a github for it at some point
@SuricrasiaOnline Interesting. I am a musician, more than a coder. That level of JS is too complex for me. But i have a few very simple feature suggestions to make this musically more usable/interesting :) You'll tell me, if you need this. And: well done. Works like a charme.
P.S.: Your BPM shows/is the actual tempo divided by 2 atm. Displayed 16ths are in fact 32nds.
I completely forgot the showcase the save and load feature.
basically, you can save a drum pattern to a string and load it later, or share it