-
Notifications
You must be signed in to change notification settings - Fork 157
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
how can i change the type to "audio/wav" ? #37
Comments
I have also encountered this problem |
I also ran into this issue, but I'm not sure if react-mic can record audio in another format besides the default .webm format. So right now I'm just using react-mic to record the audio and then using another program called ffmpeg to convert the audio into the format I need. |
Hi everyone, React-Mic can't save files as audio/wav. Right now, React-Mic uses the MediaRecorder API which saves audio as audio/webm. You can't use the MediaRecorder API to save audio as audio/wav. We would need to add much more logic to this very light-weight component to be able to save audio files as audio/wav. |
@hackingbeauty how about increasing the bitrate? |
https://github.com/streamproc/MediaStreamRecorder If you don't need oscillators provided by this library you can use this library to record streams in |
I looked in the source and it said something about
options
but I can't really figure out what to put.would also be nice to be able to assign a bitrate, as the quality is a bit low for my needs.
The text was updated successfully, but these errors were encountered: