【文件属性】:
文件名称:pcm-format:格式化PCM数据流
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-03 13:06:35
JavaScript
pcm格式
格式化PCM数据流
正在安装
npm install pcm-format
用法示例
var PcmFormatTransform = require ( 'pcm-format' ) ;
process . stdin
. pipe ( new PcmFormatTransform (
{ float : true } , // in format
{ float : false , signed : true , bitDepth : 16 , byteOrder : 'BE' } // out format
) )
. pipe ( process . stdout ) ;
// In and out format objects support all the same parameters
// (float, signed, bitDepth, b
【文件预览】:
pcm-format-master
----.gitignore(32B)
----README.md(2KB)
----bin()
--------pcm-format(44B)
----test()
--------index.js(3KB)
----.eslintrc(442B)
----package.json(962B)
----src()
--------cmd.js(1KB)
--------format.js(295B)
--------sample.js(1KB)
--------index.js(1KB)
----.babelrc(19B)
----.npmignore(32B)
----USAGE.txt(966B)