Changes in / [8ba8bbe:fa5d8ad]
- Files:
-
- 5 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
r8ba8bbe rfa5d8ad 54 54 os: osx 55 55 compiler: clang 56 env: ARCH=x86_64 WAFOPTS= "--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"56 env: ARCH=x86_64 WAFOPTS=--enable-fat 57 57 - language: C 58 58 os: osx 59 59 compiler: clang 60 env: ARCH=i386 WAFOPTS= "--enable-fat --disable-sndfile --disable-samplerate --disable-rubberband"60 env: ARCH=i386 WAFOPTS=--enable-fat 61 61 62 62 addons: … … 69 69 - libasound2-dev 70 70 - libfftw3-dev 71 - librubberband-dev72 71 - sox 73 72 … … 76 75 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 77 76 brew update 78 brew install sox libsamplerate libsndfile rubberband77 brew install sox 79 78 export PATH="$HOME/Library/Python/2.7/bin/:$PATH" 80 79 fi; -
python/lib/gen_code.py
r8ba8bbe rfa5d8ad 20 20 'method': '"default"', 21 21 'uri': '"none"', 22 'pitchscale': '1.',23 22 } 24 23 … … 84 83 'filterbank': 'self->n_filters', 85 84 'tss': 'self->buf_size', 86 'pitchshift': 'self->hop_size',87 85 } 88 86 … … 97 95 'wavetable': 'self->hop_size', 98 96 'tss': 'self->buf_size / 2 + 1', 99 'pitchshift': 'self->hop_size',100 97 } 101 98 … … 269 266 if p['type'] == 'char_t*': 270 267 return self.check_valid_char(p) 271 if p['type'] == 'smpl_t':272 return self.check_valid_smpl(p)273 268 else: 274 269 print ("ERROR, no idea how to check %s for validity" % p['type']) … … 291 286 self->{name} = {defval}; 292 287 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.) {{302 288 self->{name} = {name}; 303 289 }} -
python/lib/moresetuptools.py
r8ba8bbe rfa5d8ad 74 74 'jack', 75 75 'sndfile', 'samplerate', 76 'rubberband',77 76 #'fftw3f', 78 77 ] … … 89 88 if 'samplerate' in ext.libraries: 90 89 ext.define_macros += [('HAVE_SAMPLERATE', 1)] 91 if 'rubberband' in ext.libraries:92 ext.define_macros += [('HAVE_RUBBERBAND', 1)]93 90 if 'fftw3f' in ext.libraries: 94 91 ext.define_macros += [('HAVE_FFTW3F', 1)] -
src/aubio.h
r8ba8bbe rfa5d8ad 208 208 #include "pitch/pitchspecacf.h" 209 209 #include "tempo/beattracking.h" 210 #include "effects/pitchshift.h"211 210 #include "utils/scale.h" 212 211 #include "utils/hist.h" -
src/wscript_build
r8ba8bbe rfa5d8ad 6 6 uselib += ['SAMPLERATE'] 7 7 uselib += ['SNDFILE'] 8 uselib += ['RUBBERBAND']9 8 uselib += ['AVCODEC'] 10 9 uselib += ['AVFORMAT'] -
wscript
r8ba8bbe rfa5d8ad 69 69 help_str = 'compile with samplerate (auto)', 70 70 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')74 71 add_option_enable_disable(ctx, 'memcpy', default = True, 75 72 help_str = 'use memcpy hacks (default)', … … 263 260 mandatory = ctx.options.enable_samplerate) 264 261 265 # check for librubberband266 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 271 262 # check for jack 272 263 if (ctx.options.enable_jack != False):
Note: See TracChangeset
for help on using the changeset viewer.