- Timestamp:
- Sep 11, 2007, 12:14:01 AM (17 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:
- f72ceeb
- Parents:
- 7212394 (diff), 7a46bf6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- examples
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Makefile.am
r7212394 ref1c3b7 11 11 aubioonset \ 12 12 aubiotrack \ 13 aubionotes 13 aubionotes \ 14 aubiomfcc 14 15 15 16 noinst_PROGRAMS = \ … … 23 24 aubiotrack_SOURCES = aubiotrack.c utils.c 24 25 aubioquiet_SOURCES = aubioquiet.c utils.c 26 aubiomfcc_SOURCES = aubiomfcc.c utils.c 25 27 26 28 aubioonset_LDADD = @JACK_LIBS@ … … 28 30 aubiotrack_LDADD = @JACK_LIBS@ 29 31 aubioquiet_LDADD = @JACK_LIBS@ 32 aubiomfcc_LDADD = @JACK_LIBS@ -
examples/tests/test-beattracking.c
r7212394 ref1c3b7 13 13 uint_t i = 0; 14 14 15 smpl_t curtempo; 16 15 17 while (i < 10) { 16 18 aubio_beattracking_do(tempo,in,out); 19 curtempo = aubio_beattracking_get_bpm(tempo); 20 if (curtempo != 0.) { 21 fprintf(stdout,"%f\n",curtempo); 22 return 1; 23 } 17 24 i++; 18 25 }; -
examples/tests/test-tempo.c
r7212394 ref1c3b7 10 10 uint_t i = 0; 11 11 12 smpl_t curtempo; 13 12 14 while (i < 1000) { 13 15 aubio_tempo(o,in,out); 16 curtempo = aubio_tempo_get_bpm(o); 17 if (curtempo != 0.) { 18 fprintf(stdout,"%f\n",curtempo); 19 } 14 20 i++; 15 21 }; -
examples/utils.c
r7212394 ref1c3b7 60 60 int isonset = 0; 61 61 aubio_pickpeak_t * parms; 62 63 62 64 63 /* pitch objects */ … … 301 300 fftgrain = new_cvec(buffer_size, channels); 302 301 302 303 303 if (usepitch) { 304 304 pitchdet = new_aubio_pitchdetection(buffer_size*4, … … 313 313 /* phase vocoder */ 314 314 pv = new_aubio_pvoc(buffer_size, overlap_size, channels); 315 315 316 /* onsets */ 316 317 parms = new_aubio_peakpicker(threshold); … … 346 347 del_fvec(onset); 347 348 del_fvec(woodblock); 349 348 350 aubio_cleanup(); 349 351 } -
examples/utils.h
r7212394 ref1c3b7 98 98 extern aubio_pickpeak_t * parms; 99 99 100 101 100 /* pitch objects */ 102 101 extern smpl_t pitch;
Note: See TracChangeset
for help on using the changeset viewer.