Changeset 7e8b276 for examples/aubiotrack.c
- Timestamp:
- Nov 28, 2016, 4:16:26 PM (8 years ago)
- Branches:
- sampler
- Children:
- d5745af
- Parents:
- 1437b5c
- git-author:
- Paul Brossier <piem@piem.org> (10/03/16 18:59:12)
- git-committer:
- Paul Brossier <piem@piem.org> (11/28/16 16:16:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiotrack.c
r1437b5c r7e8b276 61 61 62 62 int main(int argc, char **argv) { 63 int ret = 0; 63 64 // override general settings from utils.c 64 65 buffer_size = 1024; … … 76 77 tempo_out = new_fvec(2); 77 78 tempo = new_aubio_tempo(tempo_method, buffer_size, hop_size, samplerate); 79 if (tempo == NULL) { ret = 1; goto beach; } 78 80 // set silence threshold very low to output beats even during silence 79 81 // aubio_tempo_set_silence(tempo, -1000.); … … 93 95 del_fvec(tempo_out); 94 96 97 beach: 95 98 examples_common_del(); 96 return 0;99 return ret; 97 100 } 98
Note: See TracChangeset
for help on using the changeset viewer.