All Projects → wangpengfei15975 → Recorder.js

wangpengfei15975 / Recorder.js

🎤HTML5 Recorder - mp3 output

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Recorder.js

Recorder
html5 js 录音 mp3 wav ogg webm amr 格式,支持pc和Android、ios部分浏览器、和Hybrid App(提供Android IOS App源码),微信也是支持的,提供H5版语音通话聊天示例 和DTMF编解码
Stars: ✭ 2,891 (+1162.45%)
Mutual labels:  recorder, audio, mp3, html5
Recorder
html5 js 浏览器 web端录音
Stars: ✭ 429 (+87.34%)
Mutual labels:  recorder, audio, mp3, html5
React Mp3 Recorder
Microphone recorder for React that captures mp3 audio 🎵
Stars: ✭ 59 (-74.24%)
Mutual labels:  recorder, audio, mp3
Javascript Media Recorder
WebRTC video recorder library for Javascript
Stars: ✭ 61 (-73.36%)
Mutual labels:  recorder, audio, mp3
Miniaudio
Single file audio playback and capture library written in C.
Stars: ✭ 1,889 (+724.89%)
Mutual labels:  audio, mp3
Sbplayerclient
支持全格式的mac版视频播放器
Stars: ✭ 110 (-51.97%)
Mutual labels:  audio, mp3
Vime
Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
Stars: ✭ 1,928 (+741.92%)
Mutual labels:  audio, html5
Timecat
A Magical Web Recorder & Player 🖥
Stars: ✭ 1,955 (+753.71%)
Mutual labels:  recorder, audio
Sillynium
Automate the creation of Python Selenium Scripts by drawing coloured boxes on webpage elements
Stars: ✭ 100 (-56.33%)
Mutual labels:  recorder, html5
React Jplayer
Html5 audio and video player library for React
Stars: ✭ 128 (-44.1%)
Mutual labels:  audio, html5
Musicplayer
A minimal music player built on electron.
Stars: ✭ 145 (-36.68%)
Mutual labels:  audio, mp3
Music Metadata Browser
Browser version of music-metadata parser Supporting a wide range of audio and tag formats.
Stars: ✭ 105 (-54.15%)
Mutual labels:  audio, mp3
Vue Howler
[UNMAINTAINED] A Howler.js mixin for Vue 2 that makes it easy to create custom audio player components
Stars: ✭ 103 (-55.02%)
Mutual labels:  audio, mp3
Mic Recorder To Mp3
Microphone Recorder to mp3
Stars: ✭ 117 (-48.91%)
Mutual labels:  recorder, mp3
React Native Sound Recorder
Simplest Sound Recorder for React Native
Stars: ✭ 103 (-55.02%)
Mutual labels:  recorder, audio
Mediafile
A unified reader of metadata from audio & video files.
Stars: ✭ 138 (-39.74%)
Mutual labels:  audio, mp3
Datmusic Api
Alternative for VK Audio API
Stars: ✭ 160 (-30.13%)
Mutual labels:  audio, mp3
Ni Media
NI Media is a C++ library for reading and writing audio streams.
Stars: ✭ 158 (-31%)
Mutual labels:  audio, mp3
Audioplayer
Audio Player for Nextcloud and ownCloud
Stars: ✭ 179 (-21.83%)
Mutual labels:  audio, mp3
Av Converter
[av-converter.com] Audio and Video Converter, and YouTube downloader. Convert to MP3, MP4, AAC, FLAC, AC3, WAV, etc.
Stars: ✭ 97 (-57.64%)
Mutual labels:  audio, mp3

recorder.js

🎤基于HTML5的录音功能,输出格式为mp3文件。

前言

完全依赖H5原生API
所涉及的API:WebRTC、AudioContext、Worker、Video/Audio API、Blob、URL

兼容性

Chrome、FF、Edge、QQ、360(注:目前IE和Safari全版本不兼容)
其中Chrome47以上以及QQ浏览器强制要求HTTPS的支持
请尝试使用FF、Edge、360等浏览器进行体验,或将项目下载到本地通过localhost的方式  

使用方式

var recorder = new Recorder({
    sampleRate: 44100, //采样频率,默认为44100Hz(标准MP3采样率)
    bitRate: 128, //比特率,默认为128kbps(标准MP3质量)
    success: function(){ //成功回调函数
    },
    error: function(msg){ //失败回调函数
    },
    fix: function(msg){ //不支持H5录音回调函数
    }
});

API

//开始录音
recorder.start();
//停止录音
recorder.stop();
//获取MP3编码的Blob格式音频文件
recorder.getBlob(function(blob){ //获取成功回调函数,blob即为音频文件
//  ...
},function(msg){ //获取失败回调函数,msg为错误信息
//  ...
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].