db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d,test/test_sox_compatibility.py,TestFunctionalFiltering,test_flanger_triangle_linear,#TestFunctionalFiltering#,386
Before Change
output_waveform = F.flanger(self.noise_waveform, self.NOISE_SAMPLE_RATE, delay, depth, regen,
width, speed, phase, modulation="triangular", interpolation="linear")
torch.testing.assert_allclose(output_waveform, sox_output_waveform, atol=1e-4, rtol=1e-5)
def test_flanger_triangle_quad(self):
Test flanger effect with triangle modulation and quadratic interpolation, compare to SoX implementation
After Change
width = 0.9
speed = 0.5
phase = 30
sample_rate = 8000
data, path = self.get_whitenoise(sample_rate)
result = F.flanger(
data, sample_rate, delay, depth, regen, width, speed, phase,
modulation="triangular", interpolation="linear")
self.assert_sox_effect(
In pattern: SUPERPATTERN
Frequency: 19
Non-data size: 4
Instances
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_flanger_triangle_linear
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_band_without_noise
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_band_with_noise
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_riaa
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_flanger_sine_linear
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_phaser_sine
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_flanger_triangle_quad
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_lowpass
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_bandpass_with_csg
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_treble
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_allpass
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_highpass
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_bass
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_bandreject
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_equalizer
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_flanger_sine_quad
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_deemph
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_bandpass_without_csg
Project Name: pytorch/audio
Commit Name: db8f2bf3f632b642ee05c5ea710ada5bdd0fdc4d
Time: 2020-07-14
Author: 855818+mthrok@users.noreply.github.com
File Name: test/test_sox_compatibility.py
Class Name: TestFunctionalFiltering
Method Name: test_phaser_triangle