Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data_test.py68 wav_dir = os.path.join(tmp_dir, "wavs")
69 os.mkdir(wav_dir)
70 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
71 background_dir = os.path.join(wav_dir, "_background_noise_")
81 "", wav_dir, 10, 10, ["a", "b"], 10, 10, model_settings, tmp_dir)
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_")
183 audio_processor = input_data.AudioProcessor("", wav_dir, 10, 10, ["a", "b"],
[all …]
Dwav_to_features_test.py56 wav_dir = os.path.join(tmp_dir, "wavs")
57 os.mkdir(wav_dir)
58 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
72 wav_dir = os.path.join(tmp_dir, "wavs")
73 os.mkdir(wav_dir)
74 self._saveWavFolders(wav_dir, ["a", "b", "c"], 100)
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,
Dtrain_test.py63 wav_dir = os.path.join(tmp_dir, 'wavs')
64 os.mkdir(wav_dir)
65 self._saveWavFolders(wav_dir, ['a', 'b', 'c'], 100)
66 background_dir = os.path.join(wav_dir, '_background_noise_')
72 return wav_dir
/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,