Home | History | Annotate | Download | only in audio

Lines Matching full:channels

287     @param num_channels: The number of total channels to test.
311 @param num_channels: The number of total channels to test.
430 """Tests loopback on all channels.
439 @param num_channels: The number of total channels to test.
482 input_audio, channel_index, channels=2, bits=16, rate=48000):
488 @param channels: The number of channels in the input audio.
492 if channel_index <= 0 or channel_index > channels:
495 if channels == 1:
497 input_audio, channels=channels, bits=bits, rate=rate)
502 channels=channels, bits=bits, rate=rate),
505 sox_utils.stat_cmd('-', channels=1, bits=bits, rate=rate),
512 def get_rms(input_audio, channels=1, bits=16, rate=48000):
513 """Gets the RMS values of all channels of the input audio.
516 @param channels: The number of channels in the input audio.
521 input_audio, i + 1, channels=channels, bits=bits,
522 rate=rate) for i in xrange(channels)]
529 input_audio, noise_file, channels=1, bits=16, rate=48000):
531 the RMS values of all channels of the input audio.
535 @param channels: The number of channels in the input audio.
542 noise_file, '-', channels=channels, bits=bits,
548 channels=channels, bits=bits, rate=rate),
551 return get_rms(reduced_file.name, channels, bits, rate)