python的aubio库中缓冲区大小和跃点大小的作用是什么?

2024-04-25 04:45:13 发布

您现在位置:Python中文网/ 问答频道 /正文

我在奥比奥图书馆做声音分析。基本上是检测心跳的开始。start()接受4个参数,其中2个是缓冲区大小和跃点大小。我想弄清楚改变这两个值是如何影响我的发病检测的

-B, --bufsize win  The size of the buffer to analyze, that is the length
  of the window used for spectral and temporal computations. Defaults to 512.

-H, --hopsize hop  The number of samples between two consecutive analysis.
  Defaults to 256.

上面提到了我在进行一些在线搜索(https://aubio.org/manual/latest/cli.html#aubioonset)后发现的两个定义

据我所知,增加缓冲区将需要更多的处理时间和增加延迟。不过,缓冲区大小是否会影响其他内容

我也没有得到跃点大小是什么,在上面的定义中,当他们说no of audio samples between 2 consecutive analysis时是什么意思。他们正在进行什么样的分析?他们对音频样本做了什么。更改跃点大小将如何影响开始检测


Tags: oftheto声音参数定义图书馆analysis