コード例 #1
0
ファイル: test_fx.py プロジェクト: liquidcitymotors/pippi
    def test_svf_hp(self):
        snd = dsp.read('tests/sounds/whitenoise10s.wav')
        freq = [20, 10000]
        res = 0
        out = fx.hpf(snd, freq, res)
        out.write('tests/renders/fx_svf_hp-r0.wav')

        freq = [20, 10000]
        res = 1
        out = fx.hpf(snd, freq, res)
        out.write('tests/renders/fx_svf_hp-r1.wav')
コード例 #2
0
    def test_buthp(self):
        snd = dsp.read('tests/sounds/guitar1s.wav')
        freq = 1000

        out = fx.hpf(snd, freq)
        out.write('tests/renders/fx_hpf.wav')