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.
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.
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.
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/
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.
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!
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?
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
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)
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!
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.
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.
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.