Changeset b4f5967 for plugins


Ignore:
Timestamp:
Oct 15, 2009, 5:09:34 PM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
cd77c15
Parents:
27fa522
Message:

src/onset: use a string to set onset mode, keeping onset types enum private, update everywhere onsets are used

Location:
plugins/puredata
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/puredata/aubioonset~.c

    r27fa522 rb4f5967  
    8888        x->hopsize   = x->bufsize / 2;
    8989
    90         x->o = new_aubio_onsetdetection(aubio_onset_complex, x->bufsize, 1);
     90        x->o = new_aubio_onsetdetection("complex", x->bufsize, 1);
    9191        x->vec = (fvec_t *)new_fvec(x->hopsize,1);
    9292        x->pv = (aubio_pvoc_t *)new_aubio_pvoc(x->bufsize, x->hopsize, 1);
  • plugins/puredata/aubiotempo~.c

    r27fa522 rb4f5967  
    8383  x->hopsize   = x->bufsize / 2;
    8484
    85   x->t = new_aubio_tempo (aubio_onset_complex, x->bufsize, x->hopsize, 1);
     85  x->t = new_aubio_tempo ("complex", x->bufsize, x->hopsize, 1);
    8686  aubio_tempo_set_silence(x->t,x->silence);
    8787  aubio_tempo_set_threshold(x->t,x->threshold);
Note: See TracChangeset for help on using the changeset viewer.