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 support #145

Open
thijstriemstra opened this issue Aug 18, 2021 · 4 comments
Open

WebAssembly support #145

thijstriemstra opened this issue Aug 18, 2021 · 4 comments

Comments

@thijstriemstra
Copy link

I was wondering if anyone tried to compile this utility into WebAssembly so it can be run in the browser? or is this not possible? any ideas/pointers are welcome!

@thijstriemstra thijstriemstra changed the title WASM compilation WebAssembly support Aug 18, 2021
@chrisn
Copy link
Member

chrisn commented Aug 20, 2021

I've never tried this. What is your use case? If you need to create waveform data in the browser, the waveform-data library should work, using Web Audio.

@thijstriemstra
Copy link
Author

from the faq:

Note that this approach is generally less efficient than pre-processing the audio server-side, using audiowaveform.

so for large audio files this isn't an option and that's why I'd like to compare the performance of audiowaveform in terminal and browser.

@rafeautie
Copy link

@chrisn I have a use case :) Running the library in a supabase edge function. They use deno runtime which supports wasm.

Have you by chance tried this in at any-point in the last 3 years?

@chrisn
Copy link
Member

chrisn commented Mar 25, 2024

Sorry, no. It's not something I've needed to be able to do.

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

3 participants