Changeset 4b1e7e7
- Timestamp:
- Dec 13, 2005, 12:52:11 PM (19 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:
- 61680aa
- Parents:
- acf2ec07
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/beattracking.c
racf2ec07 r4b1e7e7 71 71 aubio_beattracking_t * p = AUBIO_NEW(aubio_beattracking_t); 72 72 uint_t i = 0; 73 smpl_t rayparam = 48./512. * winlen; 73 /* parameter for rayleigh weight vector - sets preferred tempo to 74 * 120bpm [43] */ 75 smpl_t rayparam = 48./512. * winlen; 74 76 smpl_t dfwvnorm = EXP((LOG(2.0)/rayparam)*(winlen+2)); 77 /** length over which beat period is found [128] */ 75 78 uint_t laglen = winlen/4; 76 uint_t step = winlen/4; /* 1.5 seconds */ 79 /** step increment - both in detection function samples -i.e. 11.6ms or 80 * 1 onset frame [128] */ 81 uint_t step = winlen/4; /* 1.5 seconds */ 77 82 78 83 p->rayparam = rayparam; -
src/beattracking.h
racf2ec07 r4b1e7e7 31 31 /** 32 32 * create beat tracking object 33 * \param frame size [512] 34 * \param step increment - both in detection function samples -i.e. 11.6ms or 1 onset frame [128] 35 * \param length over which beat period is found [128] 36 * \param parameter for rayleigh weight vector - sets preferred tempo to 120bpm [43] 37 * \param channel number (not functionnal) [1] */ 38 aubio_beattracking_t * new_aubio_beattracking(uint_t winlen, 39 uint_t channels); 40 /** 41 * track the beat 42 * \param beat tracking object 43 * \param current input detection function frame. already smoothed by adaptive median threshold. 44 * \param stored tactus candidate positions 33 * \param winlen: frame size [512] 34 * \param channels number (not functionnal) [1] */ 35 aubio_beattracking_t * new_aubio_beattracking(uint_t winlen, uint_t channels); 36 /** track the beat 37 * \param bt beat tracking object 38 * \param dfframes current input detection function frame. already smoothed by 39 * adaptive median threshold. 40 * \param out stored tactus candidate positions 45 41 */ 46 42 void aubio_beattracking_do(aubio_beattracking_t * bt, fvec_t * dfframes, fvec_t * out); 47 43 /** 48 44 * delete beat tracker object 45 * \param p beat tracking object 49 46 */ 50 47 void del_aubio_beattracking(aubio_beattracking_t * p); -
src/peakpick.c
racf2ec07 r4b1e7e7 37 37 /** pre: median filter window (anti-causal part) [post-1] */ 38 38 uint_t win_pre; 39 /** threshfn: name or handle of fn for computing adaptive threshold [@median] */39 /** threshfn: name or handle of fn for computing adaptive threshold [median] */ 40 40 aubio_thresholdfn_t thresholdfn; 41 /** picker: name or handle of fn for picking event times [@peakpick] */41 /** picker: name or handle of fn for picking event times [peakpick] */ 42 42 aubio_pickerfn_t pickerfn; 43 43 -
src/resample.h
racf2ec07 r4b1e7e7 43 43 /** 44 44 * resample input in output 45 * \param s resampler object 45 46 * \param input input buffer of size N 46 47 * \param output output buffer of size N*ratio
Note: See TracChangeset
for help on using the changeset viewer.