Number of overlaping windows for an audio signal

天大地大妈咪最大 提交于 2019-12-08 01:03:43

问题


I have an audio signal, of length n and I want to divide it into windows of length k, with an overlap r < k. What is the number of windows I will obtain, from my audio signal?

I calculated it to be

  n/(k-r) - r

but I now see that it is wrong.


回答1:


If you have m windows of length k with an overlap of r, then the total distance span, n, is given as

n = (k-r)m + r

Hence the number of windows, m, is

m = (n-r)/(k-r)


来源:https://stackoverflow.com/questions/43264209/number-of-overlaping-windows-for-an-audio-signal

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