-
Notifications
You must be signed in to change notification settings - Fork 730
Open
Labels
Description
@astaff had introduced guideline for test assets in #759 and we can get rid of the following existing assets.
-
100Hz_44100Hz_16bit_05sec.wav
sine wave, should be replaced by on-the-fly generation. -
440Hz_44100Hz_16bit_05sec.wav
sine wave, should be replaced by on-the-fly generation. -
CommonVoice/cv-corpus-4-2019-12-10/tt/clips/common_voice_tt_00000000.mp3
whitenoise, should be converted to wav so that test does not require mp3 decoder. -
dtmf_30s_stereo.mp3
not used. -
genres/noise/noise.0000.wav
should be replaced by on-the-fly generation. -
kaldi_file.wav
sine wave only contains 20 samples and I do not think this is appropriate for test. -
kaldi_file_8000.wav
sine wave, should prefer on-the-fly generation. -
sinewave.wav
sine wave, should prefer on-the-fly generation. -
steam-train-whistle-daniel_simon.mp3
should be replaced bysteam-train-whistle-daniel_simon.wav
-
test.wav
file generated duringtest_io.py
accidentally checked in -
waves_yesno/0_1_0_1_0_1_1_0.wav
-
whitenoise_1min.mp3
should be replaced by on-the-fly generation. -
whitenoise.mp3
should be replaced by on-the-fly generation. -
whitenoise.wav
should be replaced by on-the-fly generation.
General Direction for replacing assets with on-the-fly generation
- Create Tensor
common_utils.get_sinusoid
common_utils.get_whitenoise
- Get temporary file path
self.get_temp_path('foo.wav')
# suppose this class is composed of `common_utils.TempDirMixin`
- Save wav file
common_utils.save_wav(path, data)
- Load wav file
common_utils.load_wav(path)