浏览器音频转换插件 Microm
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: Windows
- 软件首页: https://github.com/zzarcon/microm
软件介绍
Microm 是一个漂亮的库,可以用 JavaScript 将浏览器的麦克风转为 MP3,Microm 的目的是让浏览器里的播放和转播变得简单。
示例代码:
var microm = new Microm();var mp3 = null;start();setTimeout(stop, 1500);function start()
{ microm.startRecording().then(function() { console.log('recording...')
}).catch(function() { console.log('error recording');
});
}function stop() { microm.stop().then(function(result) {
mp3 = result; console.log(mp3.url, mp3.blob, mp3.buffer); play(); download();
});
}function play() { microm.play();
}function download() { var fileName = 'cat_voice'; microm.download(fileName);
}JavaScript & jQuery
David Sawyer McFarland / O Reilly / 2011-10-28 / USD 39.99
You don't need programming experience to add interactive and visual effects to your web pages with JavaScript. This Missing Manual shows you how the jQuery library makes JavaScript programming fun, ea......一起来看看 《JavaScript & jQuery》 这本书的介绍吧!
