- Timestamp:
- Dec 29, 2013, 12:39:05 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:
- f4adefaa
- Parents:
- 5c6acbb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r5c6acbb2 r822190c 32 32 void 33 33 process_block(fvec_t *ibuf, fvec_t *obuf) { 34 fvec_zeros(obuf);35 34 aubio_onset_do (o, ibuf, onset); 36 35 is_onset = fvec_get_sample(onset, 0); 36 if ( !usejack && ! sink_uri ) return; 37 fvec_zeros(obuf); 37 38 if ( is_onset ) { 38 39 aubio_wavetable_play ( wavetable );
Note: See TracChangeset
for help on using the changeset viewer.