recorder.js

How to record audio in format of mp3/m4a JavaScript- recorder.js

ぃ、小莉子 提交于 2020-01-03 02:35:05
问题 In recorderjs rec.exportWAV([callback][, type]) is used to generate a Blob object containing the recorded audio in WAV format. But the WAV file is taking large space, for 30sec it is approximately 1mb. So I want to record the audio in format of mp3/m4a which takes less space. Is there any way to record audio in format of mp3/m4a. 回答1: i think you should check this link : HTML5 record audio to file here u can change the audio type like this : type = type || config.type || 'audio/wav'; 回答2:

Combine two audio blob recordings

蓝咒 提交于 2020-01-02 04:12:11
问题 I am using recorder.js to record two audio files on my web page, which then creates recordings as blobs. Once I have these audio blobs I would then like to combine them both into one track to be played by another html5 audio player. I've searched the internet but I can't seem to find any documentation on combining two blob files into one. I've found how to concatenate one blob to the other but I'm wanting to merge the files at the beginning. i.e. - sound 1 is singing and sound 2 is guitar.

Need desired format of .wav In Recoder.js

眉间皱痕 提交于 2019-12-23 02:34:43
问题 I am using recorder.js to record audio. When I download .wav file it is 48KHz but I want in 16KHz, mono channel. function init(config) { sampleRate = config.sampleRate; //to 16000 numChannels = config.numChannels; //to 1 initBuffers(); } It changes the recorded voice (like a voice of the robot). Help me to get a voice in 16KHz, mono .wav file in a normal voice. (Thanx in Advance) My Code Is Here 来源: https://stackoverflow.com/questions/49043887/need-desired-format-of-wav-in-recoder-js

record audio from user and save to server

拈花ヽ惹草 提交于 2019-12-17 22:43:26
问题 I'm trying to record audio from a website user and save the audio to my server. Many of the posts I have studied so far have referenced Matt Diamond's recorderjs. I attempted to recreate the demo at http://webaudiodemos.appspot.com/AudioRecorder/index.html by opening the source code through my browser. I copied the html, "audiodisplay.js", "recorder.js", and "main.js" and put them on my server. I also added the "recorderWorker.js" file from his GitHub site. In the recorder.js file, I changed

How to record audio in format of mp3/m4a JavaScript- recorder.js

可紊 提交于 2019-12-08 10:03:29
In recorderjs rec.exportWAV([callback][, type]) is used to generate a Blob object containing the recorded audio in WAV format. But the WAV file is taking large space, for 30sec it is approximately 1mb. So I want to record the audio in format of mp3/m4a which takes less space. Is there any way to record audio in format of mp3/m4a. rampravesh i think you should check this link : HTML5 record audio to file here u can change the audio type like this : type = type || config.type || 'audio/wav'; Recorder.js does NOT support encoding captured audio as mp3. It can only record 16 bit mono or stereo

Combine two audio blob recordings

半世苍凉 提交于 2019-12-05 11:37:59
I am using recorder.js to record two audio files on my web page, which then creates recordings as blobs. Once I have these audio blobs I would then like to combine them both into one track to be played by another html5 audio player. I've searched the internet but I can't seem to find any documentation on combining two blob files into one. I've found how to concatenate one blob to the other but I'm wanting to merge the files at the beginning. i.e. - sound 1 is singing and sound 2 is guitar. I made a similar attempt using recorder.js and it did not work out for me too. Even after downloading the

Decrease bitrate on WAV file created with recorderjs

♀尐吖头ヾ 提交于 2019-11-27 12:14:06
I'm trying to use recorderjs on an app engine site where users upload short audio recordings (say, 1 to a dozen seconds long). I've noticed that the WAV files I'm uploading are much larger than I expected. For example, I just created a recording that lasts roughly 9 seconds, and the uploaded blob is 1736769 bytes, which is > 1.5 megabytes. Question: How do I modify the recorderjs code (or my own code -- maybe I'm using recorderjs incorrectly) so that my audio blobs have a lower bitrate? I'd like a 10 second recording to be safely under 1 MB. My guess is that I would need to modify the

Decrease bitrate on WAV file created with recorderjs

人走茶凉 提交于 2019-11-26 15:58:33
问题 I'm trying to use recorderjs on an app engine site where users upload short audio recordings (say, 1 to a dozen seconds long). I've noticed that the WAV files I'm uploading are much larger than I expected. For example, I just created a recording that lasts roughly 9 seconds, and the uploaded blob is 1736769 bytes, which is > 1.5 megabytes. Question: How do I modify the recorderjs code (or my own code -- maybe I'm using recorderjs incorrectly) so that my audio blobs have a lower bitrate? I'd