Lines Matching full:sample_rate
74 def check_wav_file(filename, num_channels=None, sample_rate=None, argument
80 @param sample_rate: Sample rate to expect (None to not check).
94 if sample_rate is not None and chk_file.getframerate() != sample_rate:
96 sample_rate, chk_file.getframerate())
113 def generate_sine_file(host, num_channels, sample_rate, sample_width, argument
120 @param sample_rate: Sample rate to use for sine wave generation.
137 sample_width * _BITS_PER_BYTE, sample_rate,
182 sample_rate): argument
200 @param sample_rate: Sample rate of the files.
214 1.0 / sample_rate)
215 fft_freqs_rec = numpy.fft.rfftfreq(len(rec_data), 1.0 / sample_rate)