Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More detailed usage example in README.md #16

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

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.

None yet

2 participants