Comments (2)
Tried setting it up, didn't change anything, and found that the Module() call on this line returns a Promise.
Interesting. I'm not aware that it returns a promise. I see two options: (1) Either it has always returned a promise and somehow the app is still working. (2) Module
has only started returning a promise in a more recent version of emscripten.
I just went into the project again and checked my version of emcc
:
emcc -v
cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/Users/user/.emscripten_cache/is_vanil
la.txt" for subsequent builds)
cache:INFO: - ok
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.39.0
clang version 10.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project e44524736c4a97
ae4fb37193e58647f838f6d36a)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Users/user/Projects/emsdk/upstream/bin
shared:INFO: (Emscripten: Running sanity checks)
Then I did a build using npm run dev
. When I logged:
wasm-synth/src/js/worklets/synth.js
Line 6 in 2708e85
I see a few paths of moving this issue forward:
- I'll change the readme.md to say that
emcc
of version.emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.39.0
is required - I'm happy to review any PRs that e.g. upgrade WASM-SYNTH to work with a new major version of the emscripten SDK
from wasm-synth.
Thanks for the response. FWIW I'm on emcc 2 so it could be a breaking change. I'd be happy with the README change
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 2.0.1
clang version 11.1.0
from wasm-synth.
Related Issues (12)
- TODOs
- Firefox seems to be broken HOT 1
- Crash on Chrome at first intraction HOT 4
- Problem: timdaub.github.io/wasm-synth is not indicating which version is deployed
- WASM SYNTH page doesn't display any help/introduction/guide/stats
- Add support for Ableton Link
- Firefox: Configuring for SQ64 on all four oscis sound becomes "distorted?"
- Attack cannot be adjusted for an exponentially growing curve HOT 4
- The harmonics of a particular wave cannot be finely configured
- using headphones, only left ear has sound
- lovasoa/setup-emscripten GitHub Action was deprecated, GH Actions CI is failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasm-synth.