pitch-detector

1.1.3 • Public • Published

musical pitch detector

using 'McLeod Pitch Method' (http://miracle.otago.ac.nz/tartini/papers.html)

usage

import { Note, Pitcher } from 'pitch-detector';
 
const hz = Pitcher.pitch(wave, sampleRate);
const note = new Note(hz);
 
console.log(hz, note.name());

Readme

Keywords

none

Package Sidebar

Install

npm i pitch-detector

Weekly Downloads

2

Version

1.1.3

License

MIT

Last publish

Collaborators

  • ymmtmdk