basic-pitch-ts icon indicating copy to clipboard operation
basic-pitch-ts copied to clipboard

More detailed usage example in README.md

Open felipetovarhenao opened this issue 2 years ago • 1 comments

The current code snippet in README.md is rather confusing and doesn't reflect relevant implementation details, such as how to instantiate the BasicPitch class, or clarifying that the AudioContext's sampling rate must be 22050. The provided example (which is admittedly lengthly) is copy-paste ready, and includes a docstring + explanatory comments.

felipetovarhenao avatar May 23 '23 03:05 felipetovarhenao

This was really useful!

One more detail is that the file must be mono.

paulrosen avatar Dec 07 '23 04:12 paulrosen