def _num_frame_valid(nsp_src, nsp_win, len_hop):
    "Computes the number of frames with 'valid' setting"
    return ((nsp_src - (nsp_win - len_hop)) // len_hop)
Computes the number of frames with 'valid' setting
def _num_frame_valid(nsp_src, nsp_win, len_hop):
    
    return ((nsp_src - (nsp_win - len_hop)) // len_hop)