Home
last modified time | relevance | path

Searched refs:wav_dir (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data_test.py136 wav_dir = os.path.join(tmp_dir, "wavs")
137 os.mkdir(wav_dir)
138 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
139 background_dir = os.path.join(wav_dir, "_background_noise_")
153 audio_processor = input_data.AudioProcessor("", wav_dir, 10, 10, ["a", "b"],
165 wav_dir = os.path.join(tmp_dir, "wavs")
166 os.mkdir(wav_dir)
167 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
168 background_dir = os.path.join(wav_dir, "_background_noise_")
182 audio_processor = input_data.AudioProcessor("", wav_dir, 10, 10, ["a", "b"],
[all …]
Dlabel_wav_dir.py60 def run_graph(wav_dir, labels, input_layer_name, output_layer_name, argument
68 for wav_path in glob.glob(wav_dir + "/*.wav"):
89 def label_wav(wav_dir, labels, graph, input_name, output_name, how_many_labels): argument
102 run_graph(wav_dir, labels_list, input_name, output_name, how_many_labels)
107 label_wav(FLAGS.wav_dir, FLAGS.labels, FLAGS.graph, FLAGS.input_name,
/external/autotest/client/cros/audio/
Daudio_helper.py397 def create_wav_file(wav_dir, prefix=""): argument
407 return os.path.join(wav_dir, filename)
423 def loopback_test_channels(noise_file_name, wav_dir, argument
443 record_file_name = create_wav_file(wav_dir,
451 mix_file_name = create_wav_file(wav_dir, "mix-%d" % channel)
465 reduced_file_name = create_wav_file(wav_dir,