using 'McLeod Pitch Method' (http://miracle.otago.ac.nz/tartini/papers.html)
import { Note, Pitcher } from 'pitch-detector';
const hz = Pitcher.pitch(wave, sampleRate);
const note = new Note(hz);
console.log(hz, note.name());| Name | Name | Last commit date | ||
|---|---|---|---|---|
using 'McLeod Pitch Method' (http://miracle.otago.ac.nz/tartini/papers.html)
import { Note, Pitcher } from 'pitch-detector';
const hz = Pitcher.pitch(wave, sampleRate);
const note = new Note(hz);
console.log(hz, note.name());