Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webassembly #153

Open
sabjorn opened this issue Jan 30, 2023 · 0 comments
Open

webassembly #153

sabjorn opened this issue Jan 30, 2023 · 0 comments

Comments

@sabjorn
Copy link
Owner

sabjorn commented Jan 30, 2023

as more audio analysis is desired, finding a way to use webassembly in the project is ideal. As a proof of concept, the Waveform calculations should be turned into webassembly (Rust) and then added to the project--replacing the old JS implementation.

Here are some links to help sort it out:
https://web.dev/loading-wasm/
https://github.com/dteare/wasm-csp/blob/master/wasm-eval/background.js
or possibly the number one answer in this SO post: https://stackoverflow.com/questions/70420273/how-can-i-make-webpack-embed-my-wasm-for-use-in-a-web-worker

also this may be needed for Manifest V3: https://developer.chrome.com/docs/extensions/mv3/manifest/web_accessible_resources/

https://stackoverflow.com/questions/57598482/how-do-i-use-wasm-in-the-content-script-of-a-firefox-web-extension
https://github.com/gorhill/uBlock/tree/master/src/lib/lz4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant