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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual note tracking #48

Closed
marcosgriselli opened this issue Aug 28, 2017 · 4 comments
Closed

Individual note tracking #48

marcosgriselli opened this issue Aug 28, 2017 · 4 comments

Comments

@marcosgriselli
Copy link

Hi @vadymmarkov, first of all, thanks for this awesome library 馃幑 馃帀! It's been really helpful start understanding how pitch detection works.

My issue is that I'm trying to get individual notes in a sequence without one note being recognized multiple times. If I play say C4 for 1 second I'll get 5/6 calls to PitchEngineDelegate's func pitchEngineDidReceivePitch(_ pitchEngine: PitchEngine, pitch: Pitch).

Is there a way to avoid this? Or some sort of comparison to detect if the exact same note is being played without interruptions? The goal is to be able to play a few individual notes (can be the same or different notes) and get the exact output like: A - A - C# - F - E

@vadymmarkov
Copy link
Owner

Hi @marcosgriselli and thanks for a great feedback! I don't have any solution on top of my head right now, but as a workaround you could try to track "duplicates" with some manually set delay and display a new note only if it's different from the previous one.

@eiji110007
Copy link

Hi @marcosgriselli, I have the same needs as you. Have you solved this problem? Thank you

@scubax07
Copy link

Hello guys, has anyone solved this problem yet? And thanks @vadymmarkov for this amazing library.

@marcosgriselli
Copy link
Author

marcosgriselli commented Mar 16, 2020

@scubax07 as @vadymmarkov suggested we ended up tracking pitches and manually detecting changes. I'll close this issue since it's not a library problem.

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

No branches or pull requests

4 participants