Lines Matching refs:args
13 args = ['-t', 'raw', '-e', 'signed']
14 args += ['-c', str(channels)]
15 args += ['-b', str(bits)]
16 args += ['-r', str(rate)]
17 return args
32 args = [SOX_PATH, '-n']
33 args += _raw_format_args(channels, bits, rate)
34 args.append(filename)
35 args.append('synth')
37 args.append(str(duration))
38 args += ['sine', str(frequence)]
40 args += ['gain', str(gain)]
41 return args
58 args = [SOX_PATH]
59 args += _raw_format_args(channels, bits, rate)
60 args += [input, '-n', 'noiseprof', output]
61 return args
64 def noise_reduce(*args, **kargs): argument
66 return cmd_utils.execute(noise_reduce_cmd(*args, **kargs))
80 args = [SOX_PATH]
82 args += format_args
83 args.append(input)
85 args += format_args
86 args.append(output)
87 args.append('noisered')
88 args.append(noise_profile)
89 return args
104 args = [SOX_PATH]
105 args += _raw_format_args(channels, bits, rate)
106 args.append(input)
107 args += ['-t', 'raw', output]
108 args += ['remix', str(channel_index)]
109 return args
122 args = [SOX_PATH]
123 args += _raw_format_args(channels, bits, rate)
124 args += [input, '-n', 'stat']
125 return args
128 def get_stat(*args, **kargs): argument
134 p = cmd_utils.popen(stat_cmd(*args, **kargs), stderr=cmd_utils.PIPE)