def getFrameRate(sound_file):

    wr = wave.open(sound_file, 'r')
    nchannels, sampwidth, framerate, nframes, comptype, compname = wr.getparams()
    return framerate
Returns the frame rate of a given sound file.
dataset/ETHPy150Open Agerrr/Automated_Music_Transcription/first_peaks_method.py/getFrameRate