Changeset d389e23 for examples/aubioonset.c
- Timestamp:
- Dec 31, 2013, 12:06:20 AM (10 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:
- 029bf4e
- Parents:
- 2b43a9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r2b43a9e rd389e23 30 30 smpl_t is_onset; 31 31 32 void 33 process_block(fvec_t *ibuf, fvec_t *obuf){32 void process_block(fvec_t *ibuf, fvec_t *obuf) 33 { 34 34 aubio_onset_do (o, ibuf, onset); 35 35 is_onset = fvec_get_sample(onset, 0); … … 47 47 } 48 48 49 void 50 process_print (void) 49 void process_print (void) 51 50 { 52 51 if ( is_onset ) {
Note: See TracChangeset
for help on using the changeset viewer.