Changes in / [66e8265:8197dbd]
- Files:
-
- 11 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
.travis.yml
r66e8265 r8197dbd 41 41 os: osx 42 42 osx_image: xcode10 43 env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate "43 env: CFLAGS="-Os" HAVE_AUBIO_DOUBLE=1 WAFOPTS="--disable-accelerate --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" 44 44 - name: "iOS" 45 45 language: shell 46 46 os: osx 47 env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate " AUBIO_NOTESTS=147 env: WAFOPTS="--with-target-platform=ios --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 48 48 - name: "iOSSimulator" 49 49 language: shell 50 50 os: osx 51 env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate " AUBIO_NOTESTS=151 env: WAFOPTS="--with-target-platform=iosimulator --disable-avcodec --disable-sndfile --disable-samplerate --disable-rubberband" AUBIO_NOTESTS=1 52 52 53 53 # - name: "Windows (Python 3.8.0, lib only)" … … 73 73 - libasound2-dev 74 74 - libfftw3-dev 75 - librubberband-dev 75 76 - sox 76 77 - lcov … … 80 81 - ffmpeg 81 82 - libsndfile 83 - libsamplerate 84 - rubberband 82 85 - lcov 83 86 update: true -
python/lib/gen_code.py
r66e8265 r8197dbd 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 … … 291 294 if p['type'] == 'char_t*': 292 295 return self.check_valid_char(p) 296 if p['type'] == 'smpl_t': 297 return self.check_valid_smpl(p) 293 298 else: 294 299 print ("ERROR, no idea how to check %s for validity" % p['type']) … … 311 316 self->{name} = {defval}; 312 317 if ({name} != NULL) {{ 318 self->{name} = {name}; 319 }} 320 """.format(defval = aubiodefvalue[name], name = name) 321 322 def check_valid_smpl(self, p): 323 name = p['name'] 324 return """ 325 self->{name} = {defval}; 326 if ({name} != 0.) {{ 313 327 self->{name} = {name}; 314 328 }} -
python/lib/gen_external.py
r66e8265 r8197dbd 47 47 'audio_unit', 48 48 'spectral_whitening', 49 'timestretch', # TODO fix parsing of uint_t *read in _do 49 50 ] 50 51 -
python/lib/moresetuptools.py
r66e8265 r8197dbd 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
r66e8265 r8197dbd 221 221 #include "pitch/pitchspecacf.h" 222 222 #include "tempo/beattracking.h" 223 #include "effects/pitchshift.h" 224 #include "effects/timestretch.h" 223 225 #include "utils/scale.h" 224 226 #include "utils/hist.h" -
src/wscript_build
r66e8265 r8197dbd 7 7 uselib += ['SAMPLERATE'] 8 8 uselib += ['SNDFILE'] 9 uselib += ['RUBBERBAND'] 9 10 uselib += ['AVCODEC'] 10 11 uselib += ['AVFORMAT'] -
wscript
r66e8265 r8197dbd 73 73 help_str = 'compile with samplerate (auto)', 74 74 help_disable_str = 'disable samplerate') 75 add_option_enable_disable(ctx, 'rubberband', default = None, 76 help_str = 'compile with rubberband (auto)', 77 help_disable_str = 'disable rubberband') 75 78 add_option_enable_disable(ctx, 'memcpy', default = True, 76 79 help_str = 'use memcpy hacks (default)', … … 384 387 args = '--cflags --libs samplerate >= 0.0.15', 385 388 mandatory = ctx.options.enable_samplerate) 389 390 # check for librubberband 391 if (ctx.options.enable_rubberband != False): 392 ctx.check_cfg(package = 'rubberband', atleast_version = '1.3', 393 args = '--cflags --libs', 394 mandatory = ctx.options.enable_rubberband) 386 395 387 396 # check for jack
Note: See TracChangeset
for help on using the changeset viewer.