Replies: 9 comments
-
There is https://github.com/sfztools/sfizz-webaudio/, I think it's somewhat a WIP. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
yes. I think we can point fs operator outside, somethings like |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
we can still support old style blocking calls in wasm, we just need to load entire sfz as resource. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
you dont need a library to abstract those, web audio via javascript is not too complex. |
Beta Was this translation helpful? Give feedback.
-
hi,team:
Did anyone tested it on wasm platform?
Beta Was this translation helpful? Give feedback.
All reactions