Re:Typedrummer
by joeyspn on Sunday May 10, 2015 @07:24AM
(#9519587)
Well, those are major words... IMO it won't be that easy or soon. Roland, Moog, NI, Steinberg, etc, are light years ahead of web audio. The web audio API direction is good and really promising tho.
I'm really excited about a combo of Node/websockets (real-time), NW.js/Electron (GUI), Emscripten/ASM.js (reusing audio libs) and Web Audio API. Amazing things can come out of this.
Re:Typedrummer
by brownbat on Sunday May 10, 2015 @11:29AM
(#9520177)
Here's my best guess:
a: click with a slight rattle, like rattan brushes
b: closed hihat
c: distored synth bass with rattle, like tambourine
d: distored synth bass higher pitch and muted
e: muted synth bass
f: sizzle ride hit like crash
g: maracas
h: muted maracas
i: afuche-cabasa
j: synth snare
k: deeper snare
l: castanets
m/n: tap on closed hihat - maybe striking the hardware?
o: booming tonal bass
p: half muted tonal bass
q: muted bass
r: very muted, blockish bass
s: synth splash
t: agogo bell
u: guiro upstroke
v: guiro downstroke
w: tamborine
x: snare
y: synth snare
z: concert bass
non-alpha: rest
(): beat = 1/3 - note: triplets will begin on the letter before the first open paren, it modifies the space before, not after, each note.
Re:Typedrummer
by brownbat on Sunday May 10, 2015 @11:54AM
(#9520256)
The parens don't quite line up with how triplets are usually notated. This effectively prevents you from ending the composition with a triplet that loops properly.
Re:Typedrummer
by lawry on Sunday May 10, 2015 @05:14AM
(#9519388)
For those who recall that "piano thing" that was also on hn a while back and don't want to go trough the hassle of remembering the exact name or searching it: http://touchpianist.com/
Re:Typedrummer
by DiabloD3 on Sunday May 10, 2015 @10:17AM
(#9519968)
And now I am humming the rest of the melody, and loading up Netflix. You have ruined my entire day of productivity. It is 10:17 am. Godspeed, you glorious bastard.
Re:Typedrummer
by DiabloD3 on Sunday May 10, 2015 @12:21PM
(#9520349)
For those downvoting me, parent is a Doctor Who reference: the Master is a character on the show obsessed with that specific beat (which any further explanation would be spoilertastic).
Grizzly engineers from the 70s told me of a way to use a radio to detect stuck code. Tune it to the computer's clock and if it started to make a constant pattern, you had a bug!
Re:Typedrummer
by ux on Sunday May 10, 2015 @07:02AM
(#9519538)
OK so basically we have 26 sounds (http://typedrummer.com/audio/[a-z].mp3), an accel marker '(' (only 1 scale?), and a decelerator ')' (only 1 scale?). Anything else?
Re:Typedrummer
by cocoggu on Sunday May 10, 2015 @07:58AM
(#9519654)
In Chrome too, it is due to the JS engine working slowly when the focus is not on the tab anymore.
To get around that issue he needs to wrap the setInterval function in a Web Worker, so the thread runs independently of the tab.
Not really a bug, Chrome heavily throttles timers in background tabs to save the user's juice. All you can really do is suspend the sequence until the tab returns to foreground.
What a great toy. Wish there was a way to feed it text from the Library of Babel so we'd get an idea of the sick beats the librarians dance to while trapped in their endless hexes.
I put in a few of the improbable words from the Library and this one turned out well: chaotic but mellow
Re:Typedrummer
by reustle on Sunday May 10, 2015 @05:36AM
(#9519418)
This is really cool. Within about 30 seconds of playing around, I wished it had more scripting-like features (loops and blocks I can reference multiple times)
Re:Typedrummer
by seba_dos1 on Sunday May 10, 2015 @10:39AM
(#9520035)
Oh my $deity! I sometimes play a bit with recording music and I always hate drum machine programming. If I could actually program it in some sort of programming language it would be so much nicer!
Re:Typedrummer
by cocoggu on Sunday May 10, 2015 @08:09AM
(#9519670)
I think it is more how any JS script works, Chrome and Firefox (at least) slow down the process (for CPU consumption, to save battery... etc). Since that script is working using a setInterval to look ahead, he needs to wrap the setInterval in a Web Worker, so that thread is never runned slowly.
Sites like this are a good reason to not require https everywhere. If this guy had to take the extra time to learn how to do https, it would slow down his creative innovation.
Re:Typedrummer
by quonn on Sunday May 10, 2015 @09:17AM
(#9519827)
I'm impressed how you imposed your political agenda on this innocent post.
By the way, it usually takes me less than 15 minutes to set up SSL and that includes obtaining the certificate. "Let's encrypt" will make this even more of a non-issue in the future.
Until "Let's Encrypt" becomes a thing certificates are still "expensive". It's a shame that you will have to pay for a certificate on top of a domain name for hobby projects like this.
Heh. For the helluvit I entered the Transcendental Meditation mantra given me 45 years ago and got something much, much more compelling than the mantra itself. I might just revisit that old fad.
Re:Typedrummer
by notthetup on Sunday May 10, 2015 @02:29AM
(#9519079)
Basically creates a pattern from your letters and sequences it using WebAudio. If you look at the Network tab, you'll see the individual mp3 files for each letter being downloaded.
http://typedrummer.com/zbkrw0
There's a ton of awesome stuff happening in WebAudio right now. If you want more, check out http://audiocrawl.co
I'm really excited about a combo of Node/websockets (real-time), NW.js/Electron (GUI), Emscripten/ASM.js (reusing audio libs) and Web Audio API. Amazing things can come out of this.
You can hear it weird here: http://typedrummer.com/53d811
vs. without the triplets at the end, only in the middle, so less broken sounding: http://typedrummer.com/4x2977
EDIT: Ok, workaround: just put the first character in parens - http://typedrummer.com/hoxj64
Absolutely different from this, but also fun!
http://typedrummer.com/901ci8
And since everyone feels like sharing his own crap, I'm doing it as well http://typedrummer.com/j5c05o
Edit: it's funny how Firefox (37) gets completely insane when it hasn't the focus on the tab anymore
I put in a few of the improbable words from the Library and this one turned out well: chaotic but mellow
http://typedrummer.com/jy28xk
http://libraryofbabel.info
Seems like I've just got a new side project :)
Sounds better than the original though. http://typedrummer.com/rik4mt
By the way, it usually takes me less than 15 minutes to set up SSL and that includes obtaining the certificate. "Let's encrypt" will make this even more of a non-issue in the future.
http://typedrummer.com/6haxm2
http://typedrummer.com/r5x8z0
Firefox 37.0.2 on Ubuntu 14.02 LTS 64 bit. Reproducible, crashed already 3 times.
Try: Zyzzybalooba
This could actually be very useful for meditation.
http://typedrummer.com/zvs523
http://typedrummer.com/001ho4
Let's do break beats. :)
Nice though, thanks!
EDIT: Forgot to mention; on Linux (Ubuntu 14.04)
Not as ominous as I hoped.