Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio Recording in ReactJS

I am trying to record audio with ReactJS and want to store in my node server.

For it I try to use "react-audio-recorder" module, but I am getting some issues in it like while recording audios continuously one after another, module is getting failed and also I tried to use p5.js for audio recording but I am getting issues in configuring it.

Please suggest me the best way to record audio in react(JavaScript) and to save it in my node server.

like image 788
Harsha Vardhan Avatar asked Aug 11 '16 04:08

Harsha Vardhan


People also ask

How do I record audio in react?

Recording Audio Set up two buttons and an HTML5 audio tag in the render() function. To start the audio recording call the start() function in the Mp3Recorder which in turn returns a Promise. }; Now the audio starts to record once the above function is called.


1 Answers

The react-mic project can handle the recording. Don't know how to do the server side; I'm still working on it myself.

like image 182
Trenton Avatar answered Oct 13 '22 01:10

Trenton