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

add wav recording for the default recording #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanramage
Copy link
Collaborator

Yes I added a dependancy. Sorry, it's just the best solution for this problem. Otherwise I'd have to copy a lot of code into the project.

I tried getting the MediaRecorder to work, but it wants to put the audio into various containers and I could not get the length to work.

@neauoire
Copy link
Member

Sorry can't do :(

@ryanramage
Copy link
Collaborator Author

@ryanramage
Copy link
Collaborator Author

Found another wav recorder, this one is a lot smaller - one file. It could be copied in

https://github.com/Jam3/audiobuffer-to-wav/blob/master/index.js

@ryanramage
Copy link
Collaborator Author

And an example usage of it with Tonejs. generativefm/generative.fm@de24226#diff-728aabb9c1db2479f130d548895290cfR20

@neauoire
Copy link
Member

Ah! Yes, this is perfect.
I'll give it a shot right now thanks :)

@jakofranko
Copy link

Hey there, I'm not sure if @neauoire is still maintaining this, but feel free to make a PR to my fork of Pilot! I'm wanting to make a few improvements and update the dependencies and such, so maybe we can work there till this gets picked up again? https://github.com/jakofranko/Pilot

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

Successfully merging this pull request may close these issues.

None yet

3 participants