History

Merge branch 'feature/pitchshift' into feature/timestretch

Paul Brossier committed 7 years ago

Commit 1301f662 parents 22d7902 5f57ea91 file · +2 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/test_pitchshift.py+2−2
@@ -1,7 +1,7 @@
1#! /usr/bin/env python1#! /usr/bin/env python
2 2
3from numpy.testing import TestCase3from numpy.testing import TestCase
4from _tools import parametrize4from _tools import parametrize, skipTest
5import numpy as np5import numpy as np
6import aubio6import aubio
7 7
@@ -82,7 +82,7 @@ class Test_aubio_pitchshift_testruns(object): · 74 unmodified lines
82 try:82 try:
83 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)83 self.o = aubio.pitchshift(mode, pitchscale, hop_size, samplerate)
84 except RuntimeError as e:84 except RuntimeError as e:
85 self.skipTest("failed creating pitchshift ({})".format(e))85 skipTest("failed creating pitchshift ({})".format(e))
86 test_length = self.o.hop_size * 5086 test_length = self.o.hop_size * 50
87 read = 087 read = 0
88 # test on random88 # test on random

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t