【文件属性】:
文件名称:pitch-detect:WebRTC 的音调检测
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-12 15:10:09
JavaScript
WebRTC 的音调检测
允许您使用检测流上的音调。
安装
npm install --save pitch-detect
用法
var PitchDetect = require ( 'pitch-detect' ) ,
pitchDetect = new PitchDetect ( mediaStream ) ;
pitchDetect . getPitch ( ) ;
/ * *
* getPitch ( ) Returns a data structure like :
* {
* type : String , vague / confident
* pitch : Number ,
* noteNumber : Number ,
* note : String ,
* detune : detune ,
* flat : de
【文件预览】:
pitch-detect-master
----package.json(556B)
----src()
--------pitch-detect.js(5KB)
--------notes.js(762B)
----.gitignore(20B)
----README.md(821B)