Monday, July 7th, 2008

SoundManager 2 Update: Flash 9 and Chorus effects

Category: Sound

SoundManager Flash 9

Scott has updated SoundManager2 with some nice new features.

The biggest is the update to support Flash 9, which brings with it:

  • multiShot properly allows play() to be called multiple times on a sound object, creating desired “chorus” effect. Will call onfinish() multiple times, but whileplaying() etc. are called only for the first “play instance” to avoid complications.
  • New soundSpectrum and peakData sound features (spectrum graph / “VU” meter-style data) available
  • Sounds can be actually unloaded (“null” MP3 no longer needed to cancel loading of an MP3), but URL cannot be changed without destroying and recreating the related Flash sound object. The Flash 9 version does this to maintain API consistency.

Give it a download but remember the disclaimer that Scott himself puts on the software:

Not every button, link, element or paragraph on the web needs to zoom, move, change colour and be noisy, repetitive and annoying all at the same time. Use your own discretion!

Sites which automatically start playing background sound, and/or don’t have volume or mute controls are the kind of things you should avoid building. As a developer, gentle reader, you may eventually find yourself in such a situation. Please do your part in enhancing the web with sound if you use SM2, while at the same time keeping it audibly usable. :)

I want to create a shim that implements the Gears Audio API that is currently being talked about in the community:


  1. var audio = google.gears.factory.create('');
  2. audio.src = '';
  3. audio.load();

Posted by Dion Almaer at 12:58 am

4 rating from 16 votes


Comments feed TrackBack URI

Not every button, link, element or paragraph on the web needs to zoom, move, change colour and be noisy, repetitive and annoying all at the same time. Use your own discretion!
Don’t I know it! Been there, done that. Takes me back to the days of working at Thomas Dolby’s Headspace / Beatnik, and our grand mission to “Sonify the Web”. Yeah, that turned out well ;-) Pokemon sound effects on your links, anyone?
I’m sure we’ll eventually have audio APIs as part of Web standards. In the meantime, I’ve seen two companies burn through massive amounts of VC money pursuing that vision. Been through it with Beatnik, and then Sonicopia, which was bought by Pulse. Not to mention AudioBase in Sausalito that I almost did a stint at (really glad I didn’t).
Anyway, it is nice to see someone still paying attention to audio APIs. Is there any action in the W3C on this front?

Comment by uize — July 7, 2008

BTW, Scott, hope you’re doing well these days. Zazzle was always bummed to have lost you to Yahoo…

Comment by uize — July 7, 2008

FYI, this article seems to have been taken over by spam on my Google Reader RSS feed.

Comment by lennym — July 7, 2008

Ditto, spam right here visible in the source of this page.

Lots of links to subdirs under

Comment by Buggels — July 7, 2008

It’s not just this post, appears to be adspace on Ajaxian is compromised.

…is filled with that garbage!

Comment by KevinMM — July 7, 2008

if you look at the source of the page you’ll see… spammers shame on you..

Comment by so1oonnet — July 7, 2008

@Uize: I didn’t know you were involved with the Beatnik etc., that’s neat. I recall the phrase “sonify the web” and looking at that project when I was doing “V1” of this sound thing back in 2002. Re: Zazzle, perhaps you’re confusing me for someone else – I was in Canada prior to Y!.
On the audio standards front, there might be some ideas for future HTML 5 audio API stuff; I haven’t dug into the details of what’s currently out there, but my understanding is it’s fairly basic – perhaps for good technical reasons.

Comment by Schill — July 7, 2008

I don’t recall if we did a phone screen or what, or it may have been that our recruiter tried in vain to approach you via e-mail at the insistence of the UI engineering staff, but Zazzle was definitely excited by your Web site, your background, and your obvious talent. Your name is known.
Yeah, Beatnik was definitely a blast. Structured audio is a lot of fun to have fine-grained control over. You can do a lot of “sonifying” with a sample-based synthesizer running on a Web page, where you can play every sound at a 100+ pitches, apply a few effects like chorus, and all that.

Comment by uize — July 7, 2008

Leave a comment

You must be logged in to post a comment.