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

Feature request: Add option to export files as .wav #4

Open
mxfng opened this issue Nov 25, 2023 · 3 comments
Open

Feature request: Add option to export files as .wav #4

mxfng opened this issue Nov 25, 2023 · 3 comments
Assignees

Comments

@mxfng
Copy link
Owner

mxfng commented Nov 25, 2023

No description provided.

@mxfng mxfng changed the title Add option to export files as .wav Feature request: Add option to export files as .wav Nov 26, 2023
@mxfng mxfng self-assigned this Nov 26, 2023
@mxfng
Copy link
Owner Author

mxfng commented Nov 26, 2023

This is actually incredibly hard

@absalomedia
Copy link

Can't you stream to Buffer and then export that buffer as a WAV?

@mxfng
Copy link
Owner Author

mxfng commented Nov 29, 2023

There's a couple caveats. I'd ideally like the render the buffer offline, so the user doesn't need to listen while it exports. That requirement aside, there's no native .wav encoders for browser generated audio files. I'll likely have to reproduce my own from scratch or pull in an external library. I was hoping Tone's Recorder class would have this functionality, but it's lacking it.

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

2 participants