luoluyao / VoiceOrientation

get voice orientation using multi microphones
4 stars 1 forks source link

运行时间过长 #3

Open luoluyao opened 6 years ago

luoluyao commented 6 years ago
  1. 声音切片时间过长
  2. 计算tdoa时间过长
luoluyao commented 6 years ago

对于第2个的问题,可能是一个切片时间过长。 导致在fft等运算时,运行时间过高。

luoluyao commented 6 years ago

解决方法2:see 55bd89fb0a54b6fa19c61885d86a4bea3a369cc6

luoluyao commented 6 years ago

针对解决方案1:有没有规律?如果切片时间过长,如何二次采样?或是要截断吗?

luoluyao commented 6 years ago

对于解决方案1而言,当长度为多少的时候,才需要进行二次采样

luoluyao commented 6 years ago

音素长度为3s时,gcc-phat用了6min17s。

如果,抽取偶数位的数字而已,则 耗时3m11.660s, 如果,每4位取一个数字,则耗时 1m42.307s

luoluyao commented 6 years ago

音素长度为2s时,gcc-phat用了0m9.462s

luoluyao commented 6 years ago

音素长度为2.5s时,gcc-phat用了0m7.581s

luoluyao commented 6 years ago

为什么是刚好跨过一个时间长度时,运行时间陡然增加。而不是与数据更为密切相关。