microphone-stream:来自麦克风的原始音频数据流

时间:2021-05-02 15:58:46
【文件属性】:
文件名称:microphone-stream:来自麦克风的原始音频数据流
文件大小:539KB
文件格式:ZIP
更新时间:2021-05-02 15:58:46
TypeScript getUserMedia的节点样式流 如果您只想从麦克风中获取一些音频数据,这就是您想要的! 将 (来自 )转换为标准的Node.js样式的流,以便于pipe()处理。 注意:这只是一个工作(通常或 ),然后只对。 它在Node.js中不起作用。 例子 const getUserMedia = require ( 'get-user-media-promise' ) ; const MicrophoneStream = require ( 'microphone-stream' ) ; document . getElementById ( 'my-start-button' ) . onclick = function ( ) { // note: for iOS Safari, the constructor must be called in response to a t
【文件预览】:
microphone-stream-main
----.gitignore(57B)
----package.json(2KB)
----package-lock.json(169KB)
----src()
--------microphone-stream.ts(7KB)
--------microphone-stream.spec.ts(6KB)
----karma.conf.js(2KB)
----.travis.yml(914B)
----dist()
--------microphone-stream.js(8KB)
----tsconfig.json(272B)
----types()
--------microphone-stream.d.ts(4KB)
----.github()
--------ISSUE_TEMPLATE()
----.eslintrc.js(445B)
----README.md(5KB)
----test()
--------resources()
----.editorconfig(337B)

网友评论