Changes in / [8ba8bbe:fa5d8ad]


Ignore:
Files:
5 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r8ba8bbe rfa5d8ad  
    5454      os: osx
    5555      compiler: clang
    56       env: ARCH=x86_64 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
     56      env: ARCH=x86_64 WAFOPTS=--enable-fat
    5757    - language: C
    5858      os: osx
    5959      compiler: clang
    60       env: ARCH=i386 WAFOPTS="--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"
     60      env: ARCH=i386 WAFOPTS=--enable-fat
    6161
    6262addons:
     
    6969    - libasound2-dev
    7070    - libfftw3-dev
    71     - librubberband-dev
    7271    - sox
    7372
     
    7675     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
    7776       brew update
    78        brew install sox libsamplerate libsndfile rubberband
     77       brew install sox
    7978       export PATH="$HOME/Library/Python/2.7/bin/:$PATH"
    8079     fi;
  • python/lib/gen_code.py

    r8ba8bbe rfa5d8ad  
    2020    'method': '"default"',
    2121    'uri': '"none"',
    22     'pitchscale': '1.',
    2322    }
    2423
     
    8483        'filterbank': 'self->n_filters',
    8584        'tss': 'self->buf_size',
    86         'pitchshift': 'self->hop_size',
    8785        }
    8886
     
    9795        'wavetable': 'self->hop_size',
    9896        'tss': 'self->buf_size / 2 + 1',
    99         'pitchshift': 'self->hop_size',
    10097        }
    10198
     
    269266        if p['type'] == 'char_t*':
    270267            return self.check_valid_char(p)
    271         if p['type'] == 'smpl_t':
    272             return self.check_valid_smpl(p)
    273268        else:
    274269            print ("ERROR, no idea how to check %s for validity" % p['type'])
     
    291286    self->{name} = {defval};
    292287    if ({name} != NULL) {{
    293         self->{name} = {name};
    294     }}
    295 """.format(defval = aubiodefvalue[name], name = name)
    296 
    297     def check_valid_smpl(self, p):
    298         name = p['name']
    299         return """
    300     self->{name} = {defval};
    301     if ({name} != 0.) {{
    302288        self->{name} = {name};
    303289    }}
  • python/lib/moresetuptools.py

    r8ba8bbe rfa5d8ad  
    7474                'jack',
    7575                'sndfile', 'samplerate',
    76                 'rubberband',
    7776                #'fftw3f',
    7877               ]
     
    8988    if 'samplerate' in ext.libraries:
    9089        ext.define_macros += [('HAVE_SAMPLERATE', 1)]
    91     if 'rubberband' in ext.libraries:
    92         ext.define_macros += [('HAVE_RUBBERBAND', 1)]
    9390    if 'fftw3f' in ext.libraries:
    9491        ext.define_macros += [('HAVE_FFTW3F', 1)]
  • src/aubio.h

    r8ba8bbe rfa5d8ad  
    208208#include "pitch/pitchspecacf.h"
    209209#include "tempo/beattracking.h"
    210 #include "effects/pitchshift.h"
    211210#include "utils/scale.h"
    212211#include "utils/hist.h"
  • src/wscript_build

    r8ba8bbe rfa5d8ad  
    66uselib += ['SAMPLERATE']
    77uselib += ['SNDFILE']
    8 uselib += ['RUBBERBAND']
    98uselib += ['AVCODEC']
    109uselib += ['AVFORMAT']
  • wscript

    r8ba8bbe rfa5d8ad  
    6969            help_str = 'compile with samplerate (auto)',
    7070            help_disable_str = 'disable samplerate')
    71     add_option_enable_disable(ctx, 'rubberband', default = None,
    72             help_str = 'compile with rubberband (auto)',
    73             help_disable_str = 'disable rubberband')
    7471    add_option_enable_disable(ctx, 'memcpy', default = True,
    7572            help_str = 'use memcpy hacks (default)',
     
    263260                mandatory = ctx.options.enable_samplerate)
    264261
    265     # check for librubberband
    266     if (ctx.options.enable_rubberband != False):
    267         ctx.check_cfg(package = 'rubberband', atleast_version = '1.3',
    268                 args = '--cflags --libs',
    269                 mandatory = ctx.options.enable_rubberband)
    270 
    271262    # check for jack
    272263    if (ctx.options.enable_jack != False):
Note: See TracChangeset for help on using the changeset viewer.