Speech-Denoising
Speech-Denoising copied to clipboard
the segment num is wrong.
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.