Have ideas to improve npm?Join in the discussion! »

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());

Keywords

none

Install

npm i pitch-detector

DownloadsWeekly Downloads

2

Version

1.1.3

License

MIT

Last publish

Collaborators

  • avatar