Hacker News new | past | comments | ask | show | jobs | submit login

So, I went ahead and made a drum machine out of your notes using a bit of JavaScript...


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.

I've created a new version of your great script, now it uses the javascript Audio() class.


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

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

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...

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

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

It doesn't work because Firefox doesn't support mp3 format through <audio> html tag.

This script supports only Safari and Chrome by now.

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:


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.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact