5 ms·
TL;DR: If drumbot.glitch.me doesn't work for you, try running it locally [2]. It's surprisingly effortless! First attempt at trying this out: 502 Bad Gateway.
by n3k5 7y ago
TL;DR: If drumbot.glitch.me doesn't work for you, try running it locally [2]. It's surprisingly effortless!
First attempt at trying this out: 502 Bad Gateway.
Second attempt: I thought I didn't want to mess with Node, so I downloaded Magenta Studio [0] instead. When trying to load the Max patch, my potato promptly lost its will to Live. (Ba-dum tss [1].) Maybe loading a 900MB .amxd when you only have 1GB of free RAM isn't a great idea? Anyway, I'm not keen on risking another reboot today, so I'm putting this off for now.
Third attempt: Localhosting DrumBot [2]. Five minutes ago, I didn't have Node installed (I didn't even recall ever touching Node directly at all), but now (npm install … added 247 packages from 284 contributors … found 4 moderate severity vulnerabilities … npm start) the tensors are flowing already! Whoa, Node is so easy, any idiot can use it — even musicians ;)
I peck in a simple melody:
Fly me to the moon
Let me play Fly me to
Oops, this started looping at an unexpected point. I guess I should have stuck to a 4/4 time signature? DrumBot is equally confused and lethargically bangs out wonky shit like it's attempting to cure carbon monoxide poisoning with ketamine. Meet my new band: Tourette's Horse Tranquilizer.
I start over, this time with a proper MIDI keyboard plugged in. Initially this fails: MIDI Off messages trigger notes in the same way as MIDI On messages. This is easily fixed by routing the MIDI through a DAW. (Why? No idea.) I play a standard Boogie riff, except slowed down to 100 BPM (because I can't really play keys; I just have this controller for inputting notes). DrumBot analyses this (100% correctly) as a Chicago Blues turnaround and, apparently knowing that six and two is eight, immediately channels Casey Jones[3].
Dear fellow scholars: what a time to be alive! [4]
Btw. @notwaldorf: I just had a go at routing DrumBot's output back into my DAW and obtained good results by dragging parts of my custom drum kit onto the MIDI notes that seemed most relevant. Then I changed the input and now DrumBot is hitting notes I haven't mapped yet. I guess it's using the standard GM drum map? Implementing that in its entirety would involve setting up over 40 separate instruments :/ But I'm not supposed to go quite that far, right? Is there some documentation telling every monkey how to make DrumBot king of the bongo bong? [5]
[0] https://magenta.tensorflow.org/studio/ https://magenta.tensorflow.org/studio/
[1] https://www.ableton.com/en/live/max-for-live/ https://www.ableton.com/en/live/max-for-live/
[2] https://github.com/magenta/drumbot https://github.com/magenta/drumbot
[3] https://youtu.be/RSTF6GJ23LY https://youtu.be/RSTF6GJ23LY
[4] https://www.youtube.com/playlist?list=PLujxSBD-JXgnqDD1n-V30pKtp6Q886x7e https://www.youtube.com/playlist?list=PLujxSBD-JXgnqDD1n-V30...
[5] https://youtu.be/cfLIlP-GAmg https://youtu.be/cfLIlP-GAmg