Procrastination

Yes another tiny project – experimenting with playing audio; which I expected to be much harder than it turned out to be. In fact, you can just embed an audio element and call its play method in Javascript.

This project also makes an attempt at using the accelerometer, using a bit of code from Dan Cox to provide cross browser support.

I actually wrote this under a slightly different name for some former colleagues of mine; and I wanted to email it to them – so another interesting technique I used was to embed the image and audio data directly into the HTML; so I can “ship it” as one file.

Anyway – if I can just stop procrastinating maybe I can finish off a few more important jobs…

Leave a Reply

Your email address will not be published. Required fields are marked *