浏览器音频转换插件 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);
}Ruby元编程(第2版)
[意] Paolo Perrotta / 廖志刚 / 华中科技大学出版社 / 2015-8-1 / 68.80
《Ruby元编程(第2版)》在大量剖析实例代码的基础上循序渐进地介绍Ruby特有的实用编程技巧。通过分析案例、讲解例题、回顾Ruby类库的实现细节,作者不仅向读者展示了元编程的优势及其解决问题的方式,更详细列出33种发挥其优势的编程技巧。本书堪称动态语言设计模式。Ruby之父松本行弘作序推荐。一起来看看 《Ruby元编程(第2版)》 这本书的介绍吧!
