Hop_Size meaning in aubio

一个人想着一个人 提交于 2020-05-13 14:38:07

问题


I'm trying to use the aubio(https://aubio.org) library for pitch detection. I'm trying to use the API for C and one of the parameters of the new_aubio_pitch function is hop_size. What does hop_size mean and how do you choose one?


回答1:


Hop Size should refer to the number of samples in between successive frames. For signal analysis, Hop Size should be less than the frame size, so that frames overlap.

In this diagram the Hop Size would be 'Q' and 'K' is the frame size for a signal 's(n)'

If your follow up question is 'why would you do that?', then there is a good answer to be found at this topic here:

https://dsp.stackexchange.com/questions/36509/why-is-each-window-frame-overlapping



来源:https://stackoverflow.com/questions/51276464/hop-size-meaning-in-aubio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!