Changeset 66a150a2
- Timestamp:
- Nov 30, 2007, 7:39:19 PM (17 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:
- 0f2084d
- Parents:
- d05c54f
- Location:
- tests/python
- Files:
-
- 6 added
- 1 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
tests/python/run_all_tests
rd05c54f r66a150a2 15 15 return [i.split('.')[0].replace('/','.') for i in glob(path)] 16 16 17 modules_to_test = list_of_test_files('*.py') 17 modules_to_test = [] 18 modules_to_test += list_of_test_files('src/*.py') 19 modules_to_test += list_of_test_files('src/*/*.py') 18 20 modules_to_test += list_of_test_files('examples/aubio*.py') 21 modules_to_test += list_of_test_files('*.py') 19 22 20 23 if __name__ == '__main__': -
tests/python/src/spectral/filterbank.py
rd05c54f r66a150a2 92 92 def testmfcc_channels(self): 93 93 """ check the values of each filters in the mfcc filterbank """ 94 import os.path 94 95 self.filterbank = new_aubio_filterbank_mfcc(n_filters, win_size, samplerate, 95 96 0., samplerate) 96 97 filterbank_mfcc = [ [float(f) for f in line.strip().split()] 97 for line in open( 'filterbank_mfcc.txt').readlines()]98 for line in open(os.path.join('src','spectral','filterbank_mfcc.txt')).readlines()] 98 99 for channel in range(n_filters): 99 100 vec = aubio_filterbank_getchannel(self.filterbank,channel)
Note: See TracChangeset
for help on using the changeset viewer.