Speech-Denoising icon indicating copy to clipboard operation
Speech-Denoising copied to clipboard

the segment num is wrong.

Open ZhangZhaofeng opened this issue 1 year ago • 0 comments

https://github.com/orchidas/Speech-Denoising/blob/f2b227d2a4f04dc8710e9ec0cdf1549ea39312bd/cmi_tuned_kalman_speech.m#L20

this line should be

totseg=ceil((length(y)-overlap)/(l-overlap));

The original line would in some cases count an extra frame, which would lead to an array overflow error.

ZhangZhaofeng avatar Feb 10 '23 01:02 ZhangZhaofeng