Re:Ask HN: Has anyone developed a web API for sound samples?
by jaredsohn on Tuesday October 11, 2011 @03:47PM
(#3100017)
Consider SoundManager2 (http://www.schillmania.com/projects/soundmanager2/). It allows controlling sounds via HTML5 or Flash via a JavaScript API without any UI overhead.
What would have been the ideal solution for me would have been a JS script I could have included then simply instantiated with a sound (like 'bell chime') and exposes simple javascript controls like goTo, play, stop, pause etc and worked seamlessly cross-browser with HTML5 and flash fallback. I know sound players like this exist (minues he included sound bytes) but they all have the overhead of the UI for player controls.