- Timestamp:
- Dec 31, 2013, 12:10:58 AM (11 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:
- 0546c1f3
- Parents:
- d389e23
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_avcodec.c
rd389e23 r029bf4e 62 62 // hack to create or re-create the context the first time _do or _do_multi is called 63 63 void aubio_source_avcodec_reset_resampler(aubio_source_avcodec_t * s, uint_t multi); 64 void aubio_source_avcodec_readframe(aubio_source_avcodec_t *s, uint_t * read_samples); 64 65 65 66 aubio_source_avcodec_t * new_aubio_source_avcodec(char_t * path, uint_t samplerate, uint_t hop_size) { -
src/spectral/ooura_fft8g.c
rd389e23 r029bf4e 1 // 2modifications made for aubio:1 // modifications made for aubio: 2 2 // - replace all 'double' with 'smpl_t' 3 3 // - include "aubio_priv.h" (for config.h and types.h) 4 // - add missing prototypes 4 5 5 6 #include "aubio_priv.h" 7 8 void cdft(int n, int isgn, smpl_t *a, int *ip, smpl_t *w); 9 void rdft(int n, int isgn, smpl_t *a, int *ip, smpl_t *w); 10 void ddct(int n, int isgn, smpl_t *a, int *ip, smpl_t *w); 11 void ddst(int n, int isgn, smpl_t *a, int *ip, smpl_t *w); 12 void dfct(int n, smpl_t *a, smpl_t *t, int *ip, smpl_t *w); 13 void dfst(int n, smpl_t *a, smpl_t *t, int *ip, smpl_t *w); 14 void makewt(int nw, int *ip, smpl_t *w); 15 void makect(int nc, int *ip, smpl_t *c); 16 void bitrv2(int n, int *ip, smpl_t *a); 17 void bitrv2conj(int n, int *ip, smpl_t *a); 18 void cftfsub(int n, smpl_t *a, smpl_t *w); 19 void cftbsub(int n, smpl_t *a, smpl_t *w); 20 void cft1st(int n, smpl_t *a, smpl_t *w); 21 void cftmdl(int n, int l, smpl_t *a, smpl_t *w); 22 void rftfsub(int n, smpl_t *a, int nc, smpl_t *c); 23 void rftbsub(int n, smpl_t *a, int nc, smpl_t *c); 24 void dctsub(int n, smpl_t *a, int nc, smpl_t *c); 25 void dstsub(int n, smpl_t *a, int nc, smpl_t *c); 6 26 7 27 /* -
src/spectral/statistics.c
rd389e23 r029bf4e 22 22 #include "cvec.h" 23 23 #include "spectral/specdesc.h" 24 25 void aubio_specdesc_centroid (aubio_specdesc_t * o, cvec_t * spec, 26 fvec_t * desc); 27 void aubio_specdesc_spread (aubio_specdesc_t * o, cvec_t * spec, 28 fvec_t * desc); 29 void aubio_specdesc_skewness (aubio_specdesc_t * o, cvec_t * spec, 30 fvec_t * desc); 31 void aubio_specdesc_kurtosis (aubio_specdesc_t * o, cvec_t * spec, 32 fvec_t * desc); 33 void aubio_specdesc_slope (aubio_specdesc_t * o, cvec_t * spec, 34 fvec_t * desc); 35 void aubio_specdesc_decrease (aubio_specdesc_t * o, cvec_t * spec, 36 fvec_t * desc); 37 void aubio_specdesc_rolloff (aubio_specdesc_t * o, cvec_t * spec, 38 fvec_t * desc); 39 40 41 smpl_t cvec_sum (cvec_t * s); 42 smpl_t cvec_mean (cvec_t * s); 43 smpl_t cvec_centroid (cvec_t * s); 44 smpl_t cvec_moment (cvec_t * s, uint_t moment); 24 45 25 46 smpl_t -
src/tempo/tempo.c
rd389e23 r029bf4e 28 28 #include "mathutils.h" 29 29 #include "tempo/tempo.h" 30 31 // TODO implement get/set_delay 32 33 /** set current delay 34 35 \param o beat tracking object 36 37 \return current delay, in samples 38 39 */ 40 uint_t aubio_tempo_get_delay(aubio_tempo_t * o); 41 42 /** set current delay 43 44 \param o beat tracking object 45 \param delay delay to set tempo to, in samples 46 47 \return `0` if successful, non-zero otherwise 48 49 */ 50 uint_t aubio_tempo_set_delay(aubio_tempo_t * o, uint_t delay); 30 51 31 52 /* structure to store object state */
Note: See TracChangeset
for help on using the changeset viewer.