def getDuration(sound_file):

    wr = wave.open(sound_file, 'r')
    nchannels, sampwidth, framerate, nframes, comptype, compname =  wr.getparams()
    return nframes / float(framerate)
This is a greenlet which invalidated the cache of serverset_type
dataset/ETHPy150Open Agerrr/Automated_Music_Transcription/first_peaks_method.py/getDuration--crossover with--dataset/ETHPy150Open pinterest/kingpin/kingpin/zk_update_monitor/zk_update_monitor.py/_serverset_type_set_wiper