dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

关于偏移量时间的计算疑问

Open anseldu opened this issue 4 years ago • 1 comments

可否请解释一下这个公式: nseconds = round(float(offset) / DEFAULT_FS * DEFAULT_WINDOW_SIZE * DEFAULT_OVERLAP_RATIO, 5)
我的理解这句是想得到offset的物理偏移时间,我的理解是float(offset) / DEFAULT_FS 就就够了,因为offset其实是也是偏移了的点的个数。

[email protected]

anseldu avatar Oct 21 '20 17:10 anseldu

time unit get by the window stride. DEFAULT_WINDOW_SIZE * DEFAULT_OVERLAP_RATIO = window stride.

Usernamezhx avatar Oct 26 '20 08:10 Usernamezhx