Open ryanramage opened 5 years ago
Sorry can't do :(
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
And an example usage of it with Tonejs. https://github.com/generative-music/generative.fm/commit/de2422672a597f7a1772c9caf10eea65a4c2e6fa#diff-728aabb9c1db2479f130d548895290cfR20
Ah! Yes, this is perfect. I'll give it a shot right now thanks :)
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
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.