Ignore:
Timestamp:
Dec 3, 2007, 10:57:52 AM (17 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
45f1f06
Parents:
dddf1f5 (diff), 6913434 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from main branch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • tests/python/src/spectral/filterbank.py

    rdddf1f5 r212da72  
    9292  def testmfcc_channels(self):
    9393      """ check the values of each filters in the mfcc filterbank """
     94      import os.path
    9495      self.filterbank = new_aubio_filterbank_mfcc(n_filters, win_size, samplerate,
    9596        0., samplerate)
    9697      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()]
    9899      for channel in range(n_filters):
    99100        vec = aubio_filterbank_getchannel(self.filterbank,channel)
Note: See TracChangeset for help on using the changeset viewer.