Replies: 9 comments
|
There is https://github.com/sfztools/sfizz-webaudio/, I think it's somewhat a WIP. |
|
It works, although it needs a patch because the system expects to read from a real filesystem using standard commands. I guess the "better" way would be to have some virtual filesystem approach available. |
yes. I think we can point fs operator outside, somethings like |
|
Yes. It's a more involved piece of work though, and I don't have so much expertise in how such interface should work with Web technologies. I do have some experience in how it could interface with Android walled garden and base myself on that. I most probably won't have the time to accomplish this soon, but if you feel up to the task I can offer some guidance. |
|
we can still support old style blocking calls in wasm, we just need to load entire sfz as resource. |
|
and regarding threads and sync, things seem to have evolve quite well in that regard. the main issue for wasm at the moment is that MIDI can only be done on the main thread, even if we use audio worklets to handle audio outside the main thread. |
|
@falkTX thanks for these tips, I have very little knowledge about web technologies and just hacked around the (now non-working) wasm demo in between jobs so I'm just a big newbie. The source for the minicardinal site is available somewhere? The midi information is interesting. At least for one of my desired use cases (drum backing tracks) latency is less of an issue. To demo/try SFZ files, it should also be okay-ish. |
In fact, I am working on the latest JUCE migrate to WASM, the audio device callback is works with openal. So, I will trying make the sfz player as JUCE Plugin for play first. |
|
you dont need a library to abstract those, web audio via javascript is not too complex. |
Uh oh!
There was an error while loading. Please reload this page.
hi,team:
Did anyone tested it on wasm platform?
All reactions