It should use hanning(2_onset+1) and not hanning(2_onset)
In addition we should remove the leading and ending zero of the window. Note, that this is at the moment explicitly done in the tapering_window() function.
Further we could think of switching to chebwin() instead of hanning() and maybe renaming this function.
It should use hanning(2_onset+1) and not hanning(2_onset)
In addition we should remove the leading and ending zero of the window. Note, that this is at the moment explicitly done in the tapering_window() function. Further we could think of switching to chebwin() instead of hanning() and maybe renaming this function.