Lines Matching refs:rate
13 def _raw_format_args(channels, bits, rate): argument
24 args += _format_args(channels, bits, rate)
28 def _format_args(channels, bits, rate): argument
38 return ['-c', str(channels), '-b', str(bits), '-r', str(rate)]
42 filename, channels=2, bits=16, rate=48000, duration=None, frequencies=440,
62 args += _raw_format_args(channels, bits, rate)
64 args += _format_args(channels, bits, rate)
85 def noise_profile_cmd(input, output, channels=1, bits=16, rate=48000): argument
95 args += _raw_format_args(channels, bits, rate)
106 input, output, noise_profile, channels=1, bits=16, rate=48000): argument
117 format_args = _raw_format_args(channels, bits, rate)
129 input, output, channel_index, channels=2, bits=16, rate=48000): argument
141 args += _raw_format_args(channels, bits, rate)
148 def stat_cmd(input, channels=1, bits=16, rate=44100): argument
159 args += _raw_format_args(channels, bits, rate)
389 rate=int(_execute_sox_cmd_info('-r')))
392 def get_file_length(file_path, channels, bits, rate): argument
402 return get_stat(file_path, channels, bits, rate).length