SoundManager 2: A Sound API for JavaScript

Scott Schiller has come up with something very useful: SoundManager 2 a sound API which lets web developers easily load, play and control sounds (via Flash 8) using Javascript. SoundManager 2 is a library of two core files: A Javascript API, and a small Flash 8 movie which provides sound functionality. Combined, you can create, […]

Scott Schiller has come up with something very useful: SoundManager 2 a sound API which lets web developers easily load, play and control sounds (via Flash 8) using Javascript.

SoundManager 2 is a library of two core files: A Javascript API, and a small Flash 8 movie which provides sound functionality. Combined, you can create, play and manage sounds directly from Javascript, without having to work with or maintain any Flash code. (The Actionscript .as source is included however, if you want to.)

This project was developed with integration in mind, and includes some useful debugging hooks. SoundManager 2 will use Firebug's debug console (or Safari's native console) if available, and debug info will be written in-browser for IE and others.

since you could use SM2 to add sound to all sorts of things.. within reason, of course: Not everything on the web needs to be noisy!

Some examples of real-world use of SoundManager v1/v2, based on feedback I've received:

  • Scripted language tutorials
  • Spoken word/audio assistance
  • Ringtone/music previews
  • Musician/artist web site soundtracks
  • Web-based chat

jsAMP preview screenshot

Continue for more info....

JavaScript, SoundManager 2, SM2, API, Sound