Replies: 1 comment 2 replies
|
I have delved a bit into the sources and managed to build a working wasm gdextension without thread requirements and without the need of custom shell. I can provide a pull request if someone is interested. It's a matter of substituting the preprocessor checks in the right places to or a combination of those. in order to build the wasm file i have done these steps (from the project root): the resulting file is copied in the addon/amy/bin folder and modified amy.gdextension by adding: I have patched amy.gd in order to force native behavior: During the export i have checked "Extension Support" Exported from Godot Editor 4.6.3 stable in a Linux environment. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello, this project is very interesting and intriguing, you're awesome!
I'd like to build a prototype chiptune player with Godot+Amy and I'd like to sync the feeding of the note events with the buffer filling routine.
In the native version I have already hooked a signal that fires a callback on every buffer refill and it works great on lnux, but it fails flat on web export version.
I think because web export does not use the AudioStreamGenerator node. So there's no way at the moment to sync the browser AudioWorklet with a gdscript callback function. Or is it possible?
Is there a particular reason why you went for a custom web module instead of building the gdextension with emscripten?
Like, building godot-cpp with scons platform=web , and compile the rest with emscripten compiler and linker?
Thank you
All reactions