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