News for hackers. Stuff that matters.
Re:Google Beatbox by iamdave on Monday November 29, 2010 @07:41PM (#1952531)
Here's your rudiment/instrument notation

zk = suspended cymbal

bschk = snare

pv = brush

bk = bass

tk = flam1

vk = roll tap

kt = flam2

kttp = flam tap

krp = hi hat tap

pv = short roll

th = better hi hat

thp, ds = instant rimshot.

Re:Google Beatbox by tlrobinson on Tuesday November 30, 2010 @02:19AM (#1953423)
So, I went ahead and made a drum machine out of your notes using a bit of JavaScript...

https://gist.github.com/721253

Load it as a bookmarklet using this:

javascript:(function(){document.body.appendChild(document.createElement("script")).src = "https://gist.github.com/raw/721253/f70c2bdeaed54d9907a448504...

EDIT: the bookmarklet is getting cut off by HN, see the first comment on the gist linked above.

Unfortunately there's a little bit of delay due to loading the sounds but it sort of works.

Re:Google Beatbox by potomak on Tuesday November 30, 2010 @09:44AM (#1954211)
I've created a new version of your great script, now it uses the javascript Audio() class.

https://gist.github.com/721554

This is the bookmarklet: javascript:(function(){document.body.appendChild(document.createElement("script")).src="http://bit.ly/googlebeat})()

Re:Google Beatbox by machofabulous on Tuesday November 30, 2010 @03:12PM (#1955400)
So desperate to get this to work...but no avail!

I made the bookmarklet in my firefox toolbar with the javascript code.

I open google translate, click the bookmarklet...nothing happens.

My roomate thinks it's an error with the bit.ly redirect

Any suggestions? I want it SO BAD

Re:Google Beatbox by jmatt on Tuesday November 30, 2010 @04:08PM (#1955583)
This is what you need to do to get it to work:

0. Use fix close quote on bit.ly redirect if you are using the parent comment...

  javascript:(function(){document.body.appendChild(document.createElement("script")).src="http://bit.ly/googlebeat"})()
1. Load Google Translate: http://translate.google.com

2. Load the bookmarklet.

3. Click the new buttons at the bottom of the page.

See the howto from the gist: https://gist.github.com/721554#file_how_to.txt

Re:Google Beatbox by machofabulous on Tuesday November 30, 2010 @05:39PM (#1955882)
Thanks for the response. I got it! But the play button doesn't seem to work...not a big deal.

A tip for composers, use commas and periods for rests

Re:Google Beatbox by potomak on Wednesday December 01, 2010 @03:12AM (#1957232)
It doesn't work because Firefox doesn't support mp3 format through <audio> html tag.

This script supports only Safari and Chrome by now.

Re:Google Beatbox by RyanMcGreal on Tuesday November 30, 2010 @07:36AM (#1953888)
That's awesome!

If you want to pre-compose your beat and then paste it into Google Beatbox, you can use this simple GUI script:

https://gist.github.com/721611

Re:Google Beatbox by iamdave on Tuesday November 30, 2010 @09:45AM (#1954213)
Awesome work, if you can append sounds to the next and create a string of phonemes instead of replacing after you click, that'd be even more awesome.
Re:Google Beatbox by eru on Monday November 29, 2010 @07:52PM (#1952557)
Try the techno-sound: Tischdecke! (Works in real life, haven't tried it on Google translate, yet. And means `table cloth'.)
Re:Google Beatbox by lacerus on Tuesday November 30, 2010 @05:52AM (#1953747)
For all germans here: repeat "Böse Katze" (bad cat) and you have an instant beatbox.
Re:Google Beatbox by kaens on Tuesday November 30, 2010 @07:29AM (#1953871)
And for English speakers, "Scott's Boots"
Re:Google Beatbox by tjarratt on Tuesday November 30, 2010 @07:23PM (#1956224)
I've always liked "Boots and Pants", personally.
Re:Google Beatbox by iamdave on Monday November 29, 2010 @07:54PM (#1952569)
It said the word but I broke down your suggestion far enough that Th actually gives you a much better hi hat sound. Thanks!
Re:Google Beatbox by fairlyodd on Monday November 29, 2010 @09:59PM (#1952853)
Use . to add tempo. Each full-stop adds a fixed amount of time before the next word is pronounced.
Re:Google Beatbox by ALXfoo on Monday November 29, 2010 @08:54PM (#1952721)
Re:Google Beatbox by colanderman on Monday November 29, 2010 @10:16PM (#1952901)
What do all those "k"s do?
Re:Google Beatbox by kunjaan on Tuesday November 30, 2010 @01:09AM (#1953270)
you forgot .pv

like .pv pv zk bschkpv zk ds

Re:Google Beatbox by thorkill on Wednesday December 08, 2010 @07:22AM (#1982663)
bk
Re:Google Beatbox by abesapien on Tuesday November 30, 2010 @12:09AM (#1953164)
I love this lol,^_^. I hope someone puts out a track using this.