- Timestamp:
- Oct 16, 2009, 4:02:01 AM (15 years ago)
- 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:
- 6338636
- Parents:
- 28c162c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/puredata/aubiotss~.c
r28c162c rf1b6aad 21 21 t_object x_obj; 22 22 t_float thres; 23 t_float alpha;24 t_float beta;25 23 t_int pos; /*frames%dspblocksize*/ 26 24 t_int bufsize; … … 55 53 //if (!aubio_silence_detection(x->vec, x->threshold2)) 56 54 aubio_pvoc_do (x->pv, x->vec, x->fftgrain); 57 aubio_tss_set_thres ( x->tss, x->thres);55 aubio_tss_set_threshold ( x->tss, x->thres); 58 56 aubio_tss_do (x->tss, x->fftgrain, x->ctrans, x->cstead); 59 57 aubio_pvoc_rdo (x->pvt, x->ctrans, x->trans); … … 94 92 x->bufsize = 1024; //(bufsize < 64) ? 1024: (bufsize > 16385) ? 16385: bufsize; 95 93 x->hopsize = x->bufsize / 4; 96 x->alpha = 3.;97 x->beta = 4.;98 94 99 95 x->vec = (fvec_t *)new_fvec(x->hopsize,1); … … 110 106 x->pvs = (aubio_pvoc_t *)new_aubio_pvoc(x->bufsize, x->hopsize, 1); 111 107 112 x->tss = (aubio_tss_t *)new_aubio_tss(x->thres, x->alpha, x->beta, 113 x->bufsize, x->hopsize, 1); 108 x->tss = (aubio_tss_t *)new_aubio_tss(x->bufsize, x->hopsize, 1); 114 109 115 110 floatinlet_new (&x->x_obj, &x->thres);
Note: See TracChangeset
for help on using the changeset viewer.