Skip to content

Conversation

@felipetovarhenao
Copy link

@felipetovarhenao felipetovarhenao commented May 23, 2023

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.

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. The provided example (which is admittedly lengthly) is ready to use, and includes docstring + explanatory comments.
@paulrosen
Copy link

paulrosen commented Dec 7, 2023

This was really useful!

One more detail is that the file must be mono.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants