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

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i pitch-detector

    Weekly Downloads

    0

    Version

    1.1.3

    License

    MIT

    Last publish

    Collaborators

    • ymmtmdk