News for hackers. Stuff that matters.
Re:Ask HN: Has anyone developed a web API for sound samples? by ecaroth on Tuesday October 11, 2011 @02:59PM (#3099847)
I agree with you - just recently I spent WAY too long trying to find a good free sound sample for a notification chime and integrate it into a cross-browser audio object. Not sure if you are thinking of the implementation-end as well (aka javascript/HTML5/flash player of some variety) that can consume the api or just the api itself.

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.

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.