Monday 13 February 2017

Does anyone have experience using the Web Audio API with Node.js?

Hey everyone,I'm attempting to build a POC of a web-based DAW with real-time collaborative features. I'm pretty fairly used to programming in JavaScript but definitely am a beginner when it comes to all things Node.js. I recently discovered that it isn't possible to use the Web Audio API in Node.js for the reasons found here : http://ift.tt/2kZTIQW, I've found two projects that do in-fact manage to use both Node.js and the Web Audio API. They are: http://ift.tt/1pXy4Xg and http://ift.tt/2kZKUKT anyone have any experience with both Node.js and the Web Audio API that could give me a clue as to how to go about making this possible?I've looked into both repositories and it seems that in the basic blog tutorial, it is possible because the script is defined in the HTML page so the JavaScript file knows the window object. However the web-based DAW GitHub repo uses Angular.js which I'm not at all familiar with and therefore not have a clue how he has managed to do it. His solution would be ideal for me as we're attempting to achieve the same thing (albeit his to a higher level).I've also put the question out on stack overflow if anyone would like to see the problem with a bit more detail: http://ift.tt/2kKFANh if this isn't appropriate for this forum, but any help would really be appreciated as I'm hoping to do this for my final year bachelor project and so time is of the essence.Thanks!

Submitted February 13, 2017 at 02:12PM by alimanz

No comments:

Post a Comment