web-audio-recorder-js | .wav/.ogg/.mp3 recorder with Web Audio API | Audio Utils library
kandi X-RAY | web-audio-recorder-js Summary
kandi X-RAY | web-audio-recorder-js Summary
WebAudioRecorder.js is a JavaScript library that records audio input (Web Audio API AudioNode object) and encodes to audio file image (Blob object). It supports three encoding formats. This library uses following encoder libraries as lower layer. WavAudioEncoder.js: OggVorbisEncoder.js: Mp3LameEncoder.js:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of web-audio-recorder-js
web-audio-recorder-js Key Features
web-audio-recorder-js Examples and Code Snippets
Community Discussions
Trending Discussions on web-audio-recorder-js
QUESTION
I have been looking to cut a audio blob in Js, and return a cut blob.
The blob is registered using WebAudioRecorder.js and using the mic of your pc.
I already found this repo: mp3-cutter, but it is written in node.js, and require to have access to the filesystem.
I also found this one: audio-cutter, but it has a UI.
I have explored multiple solution and did not find any simple solution.
While analyzing the recording, i found out that the mp3 registered with the mic have a 1024 bit header. Using this, and based on this, i wrote little Js function:
...ANSWER
Answered 2020-Sep-18 at 12:41Okay, i found out.
You need to convert your blob to ArrayBuffer, then to AudioBuffer, cut it, then reencode it using a encoder like mp3-lame-encoder-js
To help, i wrote a little library called simple-mp3-cutter
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install web-audio-recorder-js
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page