- Timestamp:
- Oct 8, 2009, 9:03:35 PM (15 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:
- b45b4ea
- Parents:
- 8802f92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/python/examples/aubiopitch.py
r8802f92 r7280e67 44 44 class aubiopitch_test_yinfft(program_test_case): 45 45 46 filename = os.path.join('..','..','sounds','16568_acclivity_TwoCows.wav') 46 filename = os.path.join('..','..','sounds','16568__acclivity__TwoCows.wav') 47 url = "http://www.freesound.org/samplesViewSingle.php?id=16568" 47 48 progname = "PYTHONPATH=../../python:../../python/aubio/.libs " + \ 48 49 os.path.join('..','..','python','aubiopitch') … … 51 52 def test_aubiopitch(self): 52 53 """ test aubiopitch with default parameters """ 54 if not os.path.isfile(self.filename): 55 print "Warning: file 16568_acclivity_TwoCows.wav was not found in %s" % os.path.dirname(self.filename) 56 print "download it from %s to actually run test" % url 57 return 53 58 self.getOutput() 54 59 expected_output = open(os.path.join('examples','aubiopitch','yinfft'+'.'+os.path.basename(self.filename)+'.txt')).read()
Note: See TracChangeset
for help on using the changeset viewer.