Changes in / [f19db54:633400d]
- Files:
-
- 7 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
rf19db54 r633400d 34 34 os: osx 35 35 compiler: clang 36 env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile "36 env: WAFOPTS="--enable-fat --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" 37 37 - language: C 38 38 os: osx … … 61 61 - libasound2-dev 62 62 - libfftw3-dev 63 - librubberband-dev 63 64 - sox 64 65 - lcov … … 68 69 - ffmpeg 69 70 - libsndfile 71 - libsamplerate 72 - rubberband 70 73 - lcov 71 74 #update: true -
python/lib/gen_code.py
rf19db54 r633400d 21 21 'method': '"default"', 22 22 'uri': '"none"', 23 'transpose': '0.', 23 24 } 24 25 … … 84 85 'filterbank': 'self->n_filters', 85 86 'tss': 'self->buf_size', 87 'pitchshift': 'self->hop_size', 86 88 'dct': 'self->size', 87 89 } … … 97 99 'wavetable': 'self->hop_size', 98 100 'tss': 'self->buf_size / 2 + 1', 101 'pitchshift': 'self->hop_size', 99 102 } 100 103 … … 281 284 if p['type'] == 'char_t*': 282 285 return self.check_valid_char(p) 286 if p['type'] == 'smpl_t': 287 return self.check_valid_smpl(p) 283 288 else: 284 289 print ("ERROR, no idea how to check %s for validity" % p['type']) … … 301 306 self->{name} = {defval}; 302 307 if ({name} != NULL) {{ 308 self->{name} = {name}; 309 }} 310 """.format(defval = aubiodefvalue[name], name = name) 311 312 def check_valid_smpl(self, p): 313 name = p['name'] 314 return """ 315 self->{name} = {defval}; 316 if ({name} != 0.) {{ 303 317 self->{name} = {name}; 304 318 }} -
python/lib/moresetuptools.py
rf19db54 r633400d 79 79 packages = ['libavcodec', 'libavformat', 'libavutil', 80 80 'libswresample', 'libavresample', 81 'jack', 81 82 'sndfile', 83 'rubberband', 82 84 #'fftw3f', 83 85 ] … … 101 103 if 'samplerate' in ext.libraries: 102 104 ext.define_macros += [('HAVE_SAMPLERATE', 1)] 105 if 'rubberband' in ext.libraries: 106 ext.define_macros += [('HAVE_RUBBERBAND', 1)] 103 107 if 'fftw3f' in ext.libraries: 104 108 ext.define_macros += [('HAVE_FFTW3F', 1)] -
src/aubio.h
rf19db54 r633400d 221 221 #include "pitch/pitchspecacf.h" 222 222 #include "tempo/beattracking.h" 223 #include "effects/pitchshift.h" 223 224 #include "utils/scale.h" 224 225 #include "utils/hist.h" -
src/wscript_build
rf19db54 r633400d 7 7 uselib += ['SAMPLERATE'] 8 8 uselib += ['SNDFILE'] 9 uselib += ['RUBBERBAND'] 9 10 uselib += ['AVCODEC'] 10 11 uselib += ['AVFORMAT'] -
wscript
rf19db54 r633400d 70 70 help_str = 'compile with samplerate (auto)', 71 71 help_disable_str = 'disable samplerate') 72 add_option_enable_disable(ctx, 'rubberband', default = None, 73 help_str = 'compile with rubberband (auto)', 74 help_disable_str = 'disable rubberband') 72 75 add_option_enable_disable(ctx, 'memcpy', default = True, 73 76 help_str = 'use memcpy hacks (default)', … … 380 383 args = '--cflags --libs samplerate >= 0.0.15', 381 384 mandatory = ctx.options.enable_samplerate) 385 386 # check for librubberband 387 if (ctx.options.enable_rubberband != False): 388 ctx.check_cfg(package = 'rubberband', atleast_version = '1.3', 389 args = '--cflags --libs', 390 mandatory = ctx.options.enable_rubberband) 382 391 383 392 # check for jack
Note: See TracChangeset
for help on using the changeset viewer.