Unverified Commit b457cb71 authored by Artyom Astafurov's avatar Artyom Astafurov Committed by GitHub
Browse files

update audio samples for vad testing (#599)

parent 2ebbbf51
......@@ -84,7 +84,7 @@ class TestFunctional(unittest.TestCase):
_test_batch(F.sliding_window_cmn, waveform, center=False, norm_vars=False)
def test_vad(self):
filepath = common_utils.get_asset_path("vad-hello-mono-32000.wav")
filepath = common_utils.get_asset_path("vad-go-mono-32000.wav")
waveform, sample_rate = torchaudio.load(filepath)
_test_batch(F.vad, waveform, sample_rate=sample_rate)
......
......@@ -251,8 +251,8 @@ class Test_SoxEffectsChain(unittest.TestCase):
def test_vad(self):
sample_files = [
common_utils.get_asset_path("vad-hello-stereo-44100.wav"),
common_utils.get_asset_path("vad-hello-mono-32000.wav")
common_utils.get_asset_path("vad-go-stereo-44100.wav"),
common_utils.get_asset_path("vad-go-mono-32000.wav")
]
for sample_file in sample_files:
......
......@@ -558,7 +558,7 @@ class _TransformsTestMixin:
self._assert_consistency(T.SlidingWindowCmn(), tensor)
def test_Vad(self):
filepath = common_utils.get_asset_path("vad-hello-mono-32000.wav")
filepath = common_utils.get_asset_path("vad-go-mono-32000.wav")
waveform, sample_rate = torchaudio.load(filepath)
self._assert_consistency(T.Vad(sample_rate=sample_rate), waveform)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment