Has there been any progress on this?
Opened this issue · 1 comments
I'm very interested in reviving this (for a Node.js-based redistributable desktop app). Has there been any progress in the past year? If not, any tips on what is/isn't working about the binding?
I have been playing around with not only portaudio, but also with rtaudio. Main problem is the setup of the API and the nature of the binding.
I haven't had much time since I left this to play with it, but I have a few conclusions:
JavaScript is not fast enough to have a function callback like in many C plugin architectures. Someone told me that the reason for this is the stack nature of javascript function calls, and that the number of callback function calls quickly outrun the speed in which node can actually execute them.
So to me it seems that the only way to go is to have a circular buffer of a reasonable size and the port-audio or rtaudio callback inside the wrapper itself, and expose an API in which you can either retrieve samples or push samples.
I'd love to be able to revive this too!