Changes in src/tempo/beattracking.h [f45dd12:6f42c16]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/beattracking.h
rf45dd12 r6f42c16 37 37 38 38 */ 39 #ifndef _AUBIO_BEATTRACKING_H40 #define _AUBIO_BEATTRACKING_H39 #ifndef AUBIO_BEATTRACKING_H 40 #define AUBIO_BEATTRACKING_H 41 41 42 42 #ifdef __cplusplus … … 65 65 66 66 */ 67 void aubio_beattracking_do (aubio_beattracking_t * bt, fvec_t * dfframes,67 void aubio_beattracking_do (aubio_beattracking_t * bt, const fvec_t * dfframes, 68 68 fvec_t * out); 69 70 /** get current beat period in samples 71 72 \param bt beat tracking object 73 74 Returns the currently observed period, in samples, or 0 if no consistent 75 value is found. 76 77 */ 78 smpl_t aubio_beattracking_get_period (const aubio_beattracking_t * bt); 79 80 /** get current beat period in seconds 81 82 \param bt beat tracking object 83 84 Returns the currently observed period, in seconds, or 0 if no consistent 85 value is found. 86 87 */ 88 smpl_t aubio_beattracking_get_period_s (const aubio_beattracking_t * bt); 69 89 70 90 /** get current tempo in bpm … … 76 96 77 97 */ 78 smpl_t aubio_beattracking_get_bpm( aubio_beattracking_t * bt);98 smpl_t aubio_beattracking_get_bpm(const aubio_beattracking_t * bt); 79 99 80 100 /** get current tempo confidence … … 86 106 87 107 */ 88 smpl_t aubio_beattracking_get_confidence( aubio_beattracking_t * bt);108 smpl_t aubio_beattracking_get_confidence(const aubio_beattracking_t * bt); 89 109 90 110 /** delete beat tracking object … … 99 119 #endif 100 120 101 #endif /* _AUBIO_BEATTRACKING_H */121 #endif /* AUBIO_BEATTRACKING_H */
Note: See TracChangeset
for help on using the changeset viewer.