Changeset 974dddc


Ignore:
Timestamp:
Dec 1, 2007, 5:56:57 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
41ed384
Parents:
b63b322
Message:

move tests/python/demo to tests/, add localaubio.py module helpers

Location:
tests
Files:
2 added
5 edited
10 moved

Legend:

Unmodified
Added
Removed
  • tests/demo/plot_mfcc_filterbank.py

    rb63b322 r974dddc  
    55import sys
    66
    7 from aubio.aubiowrapper import *
     7from localaubio import *
    88
    99win_size = 2048
     
    1414filterbank = new_aubio_filterbank_mfcc(n_filters, win_size, samplerate,
    1515        0., samplerate)
    16 
    1716
    1817mfcc_filters = []
  • tests/python/run_all_tests

    rb63b322 r974dddc  
    11#! /usr/bin/python
    2 
    3 # add ${src}/python and ${src}/python/aubio/.libs to python path
    4 # so the script is runnable from a compiled source tree.
    5 import sys, os
    6 
    7 cur_dir = os.path.dirname(sys.argv[0])
    8 sys.path.append(os.path.join(cur_dir,'..','..','python'))
    9 sys.path.append(os.path.join(cur_dir,'..','..','python','aubio','.libs'))
    102
    113import unittest
  • tests/python/src/cvec.py

    rb63b322 r974dddc  
    1 import unittest
    2 
    3 from aubio.aubiowrapper import *
     1from template import aubio_unit_template
     2from localaubio import *
    43
    54buf_size = 2048
    65channels = 3
    76
    8 class cvec_test_case(unittest.TestCase):
     7class cvec_unit(aubio_unit_template):
    98
    109  def setUp(self):
  • tests/python/src/fvec.py

    rb63b322 r974dddc  
    1 import unittest
    2 
    3 from aubio.aubiowrapper import *
     1from template import aubio_unit_template
     2from localaubio import *
    43
    54buf_size = 2048
    65channels = 3
    76
    8 class fvec_test_case(unittest.TestCase):
     7class fvec_unit(aubio_unit_template):
    98
    109  def setUp(self):
  • tests/python/src/onset/peakpick.py

    rb63b322 r974dddc  
    11from template import aubio_unit_template
    2 
    3 from aubio.aubiowrapper import *
     2from localaubio import *
    43
    54buf_size = 7
  • tests/python/template.py

    rb63b322 r974dddc  
    1 
    21import unittest
    32
Note: See TracChangeset for help on using the changeset viewer.