Changeset 61a1e5d for examples/aubioonset.c
- Timestamp:
- Oct 3, 2016, 6:59:12 PM (8 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, sampler, yinfft+
- Children:
- ffd10fb
- Parents:
- 82ae9d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r82ae9d7 r61a1e5d 59 59 60 60 int main(int argc, char **argv) { 61 int ret = 0; 61 62 examples_common_init(argc,argv); 62 63 … … 69 70 70 71 o = new_aubio_onset (onset_method, buffer_size, hop_size, samplerate); 72 if (o == NULL) { ret = 1; goto beach; } 71 73 if (onset_threshold != 0.) 72 74 aubio_onset_set_threshold (o, onset_threshold); … … 89 91 del_fvec (onset); 90 92 93 beach: 91 94 examples_common_del(); 92 return 0;95 return ret; 93 96 }
Note: See TracChangeset
for help on using the changeset viewer.