audioWorklets proposal 2#7363
Conversation
|
@Jonathhhan I am guessing this isn't working with the current core emscripten release yet? Thanks! |
|
@ofTheo
No, I do not think so (but have not asked yet)...
Thats what I am asking myself for a while, it would be much better and I am quite sure it is. But I already tried that without success (which does not mean that it is not possible). Here is shown how to access audio data with |
|
Could you use the last argument UserData for the inputs outputs etc? ie: Then when you start it you pass in the data as the last argument like: Then in your callback: |
|
@ofTheo thanks a lot, that looks promising and I will try that. |
|
@Jonathhhan awesome! Glad to hear! 👍 |
|
There is a recent Emscripten change, which makes it more clear which userData flows where: But I still did not found a way to pass the data where I want.
|
|
Closed because of a new draft: #7727 |
This time only one Emscripten file is changed: emscripten-core/emscripten@main...Jonathhhan:emscripten:audioWorkletOF_3.1.32-2
Maybe it is possible to replace that file automatically from the OF side?
It still can be optimized, but I think it is on the right track (and it works quite well)...
Here an example: https://audioplayer.handmadeproductions.de/