Yesterday was St.John's eve--a modern excuse for throwing firecrackers for a month long in Barcelona, culminating in a night-long orgy of noise and fire on the night of the 23rd. I should have remembered this and escaped the city when I still could, but I forgot. To make things worse, there was a football match and people were celebrating with more firecrackers. The perfect night!
But I thought I would just put the noise-cancelling headphones on and happily ignore everything. Hopefully I would get aslept and wake up the next morning as if nothing had happened. But no, that didn't work! The headphones weren't enough for all those explosions, and I couldn't sleep with so much activity outside. I read RSS feeds, wandered from related video to related video in YouTube, designed the definitive tacky playlist in Audacious (hey everyone was partying, why not me too?), and even finished a few items in my to-do list. But whenever I switched the headphones off, it was still too noisy.
Finally, out in the balcony, looking at the gloom of distant fireworks, I wondered:
And thus (read this with your most dramatic voice ever) radioworks was born.
Yes, this is seriously wrong. Also quite funny and entertaining. I can assure you I got aslept quite quickly with this. Beats reading the kernel source hands down! (I did that once--I got nightmares in Assembler, so I've never attempted it again!)
It features the worst abuse of radio buttons in a long time (look at the way 'checked' is used! ha!), and supports multitouch! So go make some noise with your mobile device! I've tested it with an iPad (looks a bit odd, no sound) and a Nexus S running Chrome (runs great, with sound). It works horribly bad in Firefox but I don't want to abuse more radios today, so if you know why it is ignoring my CSS rules, please post a comment :-)
Special thanks to mrdoob for not compressing the code of his Winning Solitaire experiment--that way I can right click, select "view source" and find out how touch events work by example. Way faster than looking for and reading docs. Also many thanks to Syna Max for the sound sample.