Idea: A new kind of volume control
A few weeks ago, I thought to myself, “Hey, someone should make a volume control that doesn’t go from ‘quiet’ to ‘loud’ but instead adjusts the audio from ‘whisper’ to ‘shout’.”
That lead to, “Maybe I can actually build that. It could be funny.”
Then I thought, “I should use the new HTML5 <audio> element. It’s timely. And it’s a good chance for me to learn how it works.”
Then I thought, “But what should I use as the audio sample? I know, I’ll use a recording of myself reciting ‘Mary Had A Little Lamb,’ as homage to Thomas Edison. Because what I’m doing is clearly as revolutionary as what he did.”
Next thing I knew, I was recording myself shouting ‘Mary Had A Little Lamb,’ wondering if the neighbors could hear me, and feeling rather silly. The more I worked on it, the more absurd the whole idea seemed.
But I got it working. Sort of. It only works in Firefox. So,with apologies to people who don’t use Firefox, or aren’t willing to fire it up just for a laugh, here is my revolutionary new audio player that adjusts the volume from “whisper” to “shout”:
(the image is a link to the actual player, which gets its own page)
See also: Garrett Morris













Comments
The image, when clicked in my RSS reader, links to a 404. It points to /audiothing/ instead of /volumething/.
Outdated RSS or did something go wrong somewhere?
Posted by: Martijn | March 31, 2010 3:42 PM
That is pretty damn brilliant. I’m having fun imagining how this would apply to, say, a movie for example(:
Posted by: Dan ott | March 31, 2010 3:43 PM
how do you come up with all of these? as always your blog rocks.
Posted by: ox | March 31, 2010 3:52 PM
You, sir, are a genius.
Posted by: -F. | March 31, 2010 5:06 PM
This is brilliant! Tweeted it. By the way you should add a way for people to share your posts.
Posted by: Andrea Austoni | March 31, 2010 5:15 PM
Brilliant!
Works in Opera too.
Posted by: VEC7OR | March 31, 2010 5:20 PM
Excellent - will you, as the revolution go on - work on this towards multiple browsers?
will tweet @dressedtojazz about your skills!
Posted by: DressedToJazz | March 31, 2010 5:23 PM
I really, really enjoy this.
Posted by: rachel | March 31, 2010 5:43 PM
It’s a lie! Not only Firefox! Opera (10.5) works great, too!
But still a cool experiment!
When you convert the audio to m4a it should work in all other HTML5 browsers, too.
Posted by: Martin | March 31, 2010 6:18 PM
Hilarious, totally laughed out loud, thanks!
Posted by: Chris | March 31, 2010 8:12 PM
Brilliant, I love it. I wish all audio books had this option…
Posted by: Aaron | March 31, 2010 8:45 PM
Two words:
Gee Nyus.
Posted by: Philip | March 31, 2010 9:26 PM
Would be far nicer if you only had to record your voice once, and let the software compute the other tones.
Posted by: Fabien | March 31, 2010 10:00 PM
Nice, very impressive, not what I had been expecting! - look forward to reading the details on how this works.
Posted by: Stephen Harrison | March 31, 2010 10:53 PM
AWESOME.
Posted by: seven | March 31, 2010 10:55 PM
This is brilliant.
Posted by: Jim Gay | March 31, 2010 11:41 PM
I’m glad *someone* found my code useful. What surprises me is that the audio tag isn’t ignored due to the page being declared as xhtml and not as html.
By chance have you checked out my PagePlayer project?
Posted by: jezra | March 31, 2010 11:42 PM
You gave me a genuinely large laugh. I thank you for that sir. However, I will suggest your “pause” button turn to a “play” button upon completion of the audio clip.
Posted by: TJLK | April 1, 2010 12:42 AM
Hilarious, i love the concept :D
Posted by: Xian | April 1, 2010 1:12 AM
Brilliant, I love it :)
Posted by: Just Jobs | April 1, 2010 3:09 AM
Hahahah so much win.
Posted by: japieee | April 1, 2010 4:35 AM
Amusing.
Also, works fine on Opera 10.51 despite all your warnings to the contrary (and that ominous (opera?)).
Posted by: signal9 | April 1, 2010 4:42 AM
That’s one demo I can’t try at work. :(
Posted by: Stijn | April 1, 2010 9:33 AM
Creative concept, but you were totally holding back man! YOU KNOW FULLLL WELLLL that the loudest shout setting should be much screamier than that :)
Posted by: Carlo | April 1, 2010 10:41 AM
That was wonderful.
Posted by: brookeduckart | April 1, 2010 11:30 AM
Ahahahahahahaha!
Posted by: DhammaSeeker | April 1, 2010 12:23 PM
The shout option was a riot, especially the mental image of you creating this at home, furtively looking around for people who might hear you. Thank you for creating this!
Posted by: Lizerati | April 1, 2010 3:17 PM
So revolutionary it did not work in Chrome or Safari!
Posted by: sam | April 1, 2010 6:31 PM
That is amazing. You are an awesome person.
Posted by: Dudeman | April 1, 2010 10:08 PM
Simply brilliant. Made me laugh out loud.
Posted by: Martyn | April 2, 2010 6:44 AM
AWESOME! NEED IT FOR ALL MY AUDIOBOOKS!!! (maybe not the yelling increment but it WOULD be sweet)
Posted by: eag | April 2, 2010 9:30 AM
Perfect!
Posted by: morekid | April 2, 2010 5:22 PM
This. Is. Brilliant.
I can just imagine this turning all those movies everyone says I should see but don’t really sound so good into gems. Oh, goodness. So many possible amazing applications!
Posted by: cera | April 3, 2010 10:17 AM
Awesome concept! I love it!
Glad you found the code for Jaraoke useful! I managed to get Chrome over its fits by ensuring that ogg files weren’t getting gzipped server side. Give that a shot and I’d imagine this’ll work in Chrome as well.
Posted by: Randall A. Gordon | April 3, 2010 10:41 PM
Also, if Chrome’s inability to run the demo is indeed related to gzip, then adding mp3 sources alongside the Ogg sources should make Safari happy.
Posted by: Randall A. Gordon | April 3, 2010 11:02 PM
Lovely!!!
I have posted this in my blog at:
http://www.greepit.com/2010/04/an-innovative-volume-control-with-html5-audio-element/
Sarfraz
Posted by: Sarfraz Shoukat | April 4, 2010 5:20 AM
It works better in Opera. The transition between the peaks is better. Firefox makes clipping between them.
Posted by: Macilias | April 4, 2010 7:04 PM
Teehee! Very creative.
Posted by: Altissima | April 4, 2010 8:43 PM
It would be cool if you would fade between the different volumes. So you can set it to 4.123 instead of just 4 or 5. :)
Posted by: Jonas | April 6, 2010 7:18 AM
It would be cool if you would fade between the different volumes. So you can set it to 4.123 instead of just 4 or 5. :)
Posted by: 29a | April 6, 2010 7:19 AM
amazing!
One practical use of this script is changing audio language on movies in html5.
It is possible to sync splitted video and audio?
Posted by: Tom | April 7, 2010 11:50 PM
GENIUSSS!!!
Posted by: Anonymous | April 9, 2010 2:36 PM
David,
also consider a low pitch/high pitch control for the computer (or does one already exist?) As my audiologist will attest, high frequency sounds usually go first. Before getting a hearing aid I just turned up the treble on our TV to help clarify spoken words.
Posted by: Dad | April 9, 2010 6:45 PM
I Started cracking up when i turned the volume all the way up, brilliant.
Posted by: Kevin | April 18, 2010 10:33 PM
The highest volume is the best part
oh and my verification code is funny as well graph safety
Posted by: Kevin | April 18, 2010 10:35 PM
You are totally nutz! Very funny, too.
Posted by: bigjohn756 | April 24, 2010 4:07 PM
Hilarious and brilliant
Posted by: Gaurav | May 29, 2010 3:04 PM
High-larious.
The shout setting sounds like Garth from Wayne’s World.
Posted by: Greg | August 3, 2010 10:57 PM
I keep playing it on whisper to scare nearby children.
Posted by: tomelders | August 4, 2010 3:29 PM
1. Funny!
2. Is that a Baltimore accent I detect?
Posted by: LemonySarah | August 5, 2010 12:37 AM
I can’t play on FF3.0.something! I want to hear!
Posted by: KJ | August 5, 2010 4:52 PM
Love this and I love Firefox!
Posted by: Caralyn Landacre | August 5, 2010 9:42 PM
Nice! I like it. It made me smile on a bad day. Thanks
Posted by: Azstrel | September 29, 2010 12:17 AM
pretty sweet!
Posted by: Shane | October 21, 2010 3:38 AM
TOO AWESOME!!
Posted by: vipatt | November 17, 2010 1:56 PM
I wish someone would pay you for this …
Posted by: jim | January 7, 2011 4:44 AM