by pavlov · 9y ago · 0 comments
I'm still not convinced that this API is actually useful for any application that needs to play sound or music, but it definitely seems to have the "interesting synthesizer experiments" segment covered.
https://github.com/steffest/BassoonTracker
https://github.com/mbitsnbites/soundbox
https://github.com/pgregory/wetracker
Also, I wrote a WebExtension that lets you apply pan and gain to audio in YouTube videos (and other videos that are not cross-domain) using Web Audio https://addons.mozilla.org/en-US/firefox/addon/soundfixer/
On the web, "deprecated" doesn't mean you can't use it. It can take a long time for "officially deprecated by the standards" to become "I can't use it anymore" (obsoleted).
The replacement is the "AudioWorklet" interface and the purpose is to fix those exact synchronization issues. I wouldn't expect ScriptProcessorNode to disappear from the browser until the replacement is actually rolled out.
The Web Audio API started as the Audio Data API in Firefox, which was nothing but a buffer to blast samples into, then the Web Audio API was a refinement/competing standard above that extremely simplistic API (I adapted a Javascript-based .mod player to use AudioData instead of sticking an <audio> tag in the page circa 2011).
You've been able to generate and play back samples in browser (without Flash) for ~6-7 years now, they're simply making official changes to the underlying API in the hopes of improving it. "Deprecated" is just bureaucracy.
I suppose Web Audio API is just badly named.