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

Does this support the zero-padding trick? #33

Open
nicola opened this issue Apr 19, 2020 · 2 comments
Open

Does this support the zero-padding trick? #33

nicola opened this issue Apr 19, 2020 · 2 comments

Comments

@nicola
Copy link

nicola commented Apr 19, 2020

Hello here, I am aware that there is a trick to keep the buffer size larger by zero-padding the first N bytes. Does this provide such trick or will I have to implement it off this?

@peterkhayes
Copy link
Owner

I'm not aware of this trick, so, I guess I'm not sure!

@MysteryPancake
Copy link

MysteryPancake commented Aug 18, 2020

This may be wrong, but I think this trick might not work very well because these algorithms operate mostly in the time domain. This trick is more useful when going from the time domain to the frequency domain or vice-versa.

As some of these algorithms use peak detection as a method of pitch detection, it may cause problems if the zero padding causes a rapid drop to 0 from the previous value. This could cause a new peak, which would not necessarily be caused by pitch.

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

3 participants