Changeset 689106e for python/tests/test_pitch.py
- Timestamp:
- Apr 18, 2016, 11:24:47 PM (8 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 6db7600
- Parents:
- 1c6fe64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_pitch.py
r1c6fe64 r689106e 25 25 p = pitch('default', 2048, 512, 32000) 26 26 f = fvec (512) 27 for i in xrange(10): assert_equal (p(f), 0.)27 for i in range(10): assert_equal (p(f), 0.) 28 28 29 29 def test_run_on_ones(self): … … 32 32 f = fvec (512) 33 33 f[:] = 1 34 for i in xrange(10): assert_equal (p(f), 0.)34 for i in range(10): assert_equal (p(f), 0.) 35 35 36 36 class aubio_pitch_Sinusoid(TestCase):
Note: See TracChangeset
for help on using the changeset viewer.