arfit-test.py
def load_frames(in_file, srate=16000):
    '''load frames from either single wav or npy
    @in_file: input wav or npy
    @return: raw frames in the size of [num_frames, frame_len]
    '''
    signal, srate = librosa.load(in_file, srate)
    pre_emphed = sigproc.preemphasis(signal, coeff=0.95)
    frames = sigproc.framesig(pre_emphed, 0.025*srate, 0.01*srate)
    return frames
load frames from either single wav or npy
    @in_file: input wav or npy
    @return: raw frames in the size of [num_frames, frame_len]
    
load frames from either single wav or npy
load frames from either single wav or npy
def load_frames(in_file, srate=16000):
    signal, srate = librosa.load(in_file, srate)
    pre_emphed = sigproc.preemphasis(signal, coeff=0.95)
    frames = sigproc.framesig(pre_emphed, 0.025*srate, 0.01*srate)
    return frames
def load_frames ( in_file , srate = 16000 ) : signal , srate = librosa . load ( in_file , srate ) pre_emphed = sigproc . preemphasis ( signal , coeff = 0.95 ) frames = sigproc . framesig ( pre_emphed , 0.025 * srate , 0.01 * srate ) return frames
load frames from either single wav or npy
load frames from either single wav or npy
'''load frames from either single wav or npy
    @in_file: input wav or npy
    @return: raw frames in the size of [num_frames, frame_len]
    '''
raw frames in the size of [num_frames, frame_len]
raw frames in the size of [ num_frames frame_len ]
in_file
srate
in_file
input wav or npy
input wav or npy