Earlier quoted context omitted.
Realtime audio DSP seems like about the last thing that in-browser JavaScript was designed to do well. Janky audio is unnacceptable in a way that janky visuals aren't. It totally kills the experience. Without very strong guarantees about GC latency and thread scheduling that are neither available nor on the horizon for in-browser js, it won't work for anything beyond fun hacks.
If you don't care about latency, and in this "DSP sandbox" application you probably don't, JavaScript is fine for real-time DSP. JS under V8 and similar engines can be quite fast. You aren't going to digitize 100 MHz of RF spectrum and build an SDR in JavaScript, but for audio rendering work it'd be fine. Cool hack.
Show HN: Wavepot – Digital audio workstation of the web
101–110 of 137 posts
Re: Show HN: Wavepot – Digital audio workstation of the web
#102For another take on live coding in the browser: http://gibber.mat.ucsb.edu/ Check out http://algorave.com for more info on the live coding music scene, which has really taken off in the last year. I can't wait for someone to combine live coding with Swift Playground/Bret Victor 'revealing the system' style interfaces.
Re: Show HN: Wavepot – Digital audio workstation of the web
#103Is there a way to contribute without using bitcoin? This is awesome and I want to support it, but I'm not really interested in getting involved in bitcoin.
Re: Show HN: Wavepot – Digital audio workstation of the web
#104I am floored by how well it runs on my Moto G, specially the 303 and the subwah patches.
Great job!
Re: Show HN: Wavepot – Digital audio workstation of the web
#105As someone who's completely ignorant to the concepts behind algorave, could anyone more experienced outline the helpful prerequisites to know before I experiment with a tool like Wavepot? I assume it's mostly the (basic?) physics of sound waves that I'd need to understand?
Re: Show HN: Wavepot – Digital audio workstation of the web
#106Earlier quoted context omitted.
Yes, and it works by mostly avoiding realtime DSP in javascript. It provides a high-level API for wiring together prebuilt audio processing nodes. Much like using browser animation APIs vs programatic animation. My point is about the feasibility of JS signal processing, not the feasibility of using JS to glue together signal processors. The WebAudio API does provide a ScriptProcessorNode for JS processing, but it app…
"The WebAudio API does provide a ScriptProcessorNode for JS processing, but it appears to suffer from the problems I described." Yup. That is being worked on by W3C and the WebAudio committee as we speak. WebWorker based JS processing is something being considered. https://github.com/WebAudio/web-audio-api/issues/113 http://lists.w3.org/Archives/Public/public-audio/2013OctDec/... I am expecting this to be resolved in…
The WebWorker proposal is interesting. If the worker has its own heap and realtime scheduling with a correctly configured GC, it would be a big improvement.
Getting the different implementations to work consistently enough will be challenging, though. Meeting realtime deadlines is difficult enough when working in C with a known OS and audio stack.
Re: Show HN: Wavepot – Digital audio workstation of the web
#107Earlier quoted context omitted.
"The WebAudio API does provide a ScriptProcessorNode for JS processing, but it appears to suffer from the problems I described." Yup. That is being worked on by W3C and the WebAudio committee as we speak. WebWorker based JS processing is something being considered. https://github.com/WebAudio/web-audio-api/issues/113 http://lists.w3.org/Archives/Public/public-audio/2013OctDec/... I am expecting this to be resolved in…
Meeting real-time guarantees pretty well isn't good enough for a DAW. Not without a lot of buffering (and therefore latency), anyway. The WebWorker proposal is interesting. If the worker has its own heap and realtime scheduling with a correctly configured GC, it would be a big improvement. Getting the different implementations to work consistently enough will be challenging, though. Meeting realtime deadlines is diff…
https://github.com/w3c/web-platform-tests/tree/master/webaud...
Re: Show HN: Wavepot – Digital audio workstation of the web
#108Re: Show HN: Wavepot – Digital audio workstation of the web
#109Earlier quoted context omitted.
This is really, really interesting.
come and do some wavepot at an algorave
Re: Show HN: Wavepot – Digital audio workstation of the web
#110Holy crap! This is great!
Would someone kindly explain why I and two other users (msane and jrlocke) were downvoted for simply expressing delight? Is that somehow unwelcome? I don't see anything against that in the guidelines: http://ycombinator.com/newsguidelines.html Note, this isn't a complaint , it's merely a request to understand why my comment is inappropriate and to understand how I can express my approval of a submission without losin…