1

Topic: Could Pianoteq be ported to the JavaScript WebAudio API?

I'm curious if this is possible.  The WebAudio API is pretty sophisticated (and offloads most of the real work from JavaScript to native code), but I don't know if what Pianoteq is doing is too computationally expensive to do in a web browser.

I'm only interested in whether it could be done technically, not in the economics of doing so (such as the fact that that people might be able to steal the code).

Any thoughts on this?

Last edited by robbrown (13-05-2017 23:57)

2

Re: Could Pianoteq be ported to the JavaScript WebAudio API?

I don't know if there's maybe some features lacking in WebAudio API, maybe the audio or MIDI route is long and latency would kill this idea, but JavaScript within Web Assembly subset is definitely well beyond Pianoteq requirements on any reasonably modern computer (and I would be willing to bet that even for top end phones). You would get 10%, maybe 20% (bad case) performance hit, which is nothing.

Last edited by kamil.t (25-05-2017 12:49)