Changeset ef1c3b7 for examples


Ignore:
Timestamp:
Sep 11, 2007, 12:14:01 AM (17 years ago)
Author:
Amaury Hazan <mahmoudax@gmail.com>
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.
Message:

merged from aubio_mfcc, added slaney filterbank (70% done)

Location:
examples
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • examples/Makefile.am

    r7212394 ref1c3b7  
    1111        aubioonset \
    1212        aubiotrack \
    13         aubionotes
     13        aubionotes \
     14        aubiomfcc
    1415
    1516noinst_PROGRAMS = \
     
    2324aubiotrack_SOURCES = aubiotrack.c utils.c
    2425aubioquiet_SOURCES = aubioquiet.c utils.c
     26aubiomfcc_SOURCES = aubiomfcc.c utils.c
    2527
    2628aubioonset_LDADD = @JACK_LIBS@
     
    2830aubiotrack_LDADD = @JACK_LIBS@
    2931aubioquiet_LDADD = @JACK_LIBS@
     32aubiomfcc_LDADD = @JACK_LIBS@
  • examples/tests/test-beattracking.c

    r7212394 ref1c3b7  
    1313        uint_t i = 0;
    1414
     15        smpl_t curtempo;
     16
    1517        while (i < 10) {
    1618          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          }
    1724          i++;
    1825        };
  • examples/tests/test-tempo.c

    r7212394 ref1c3b7  
    1010        uint_t i = 0;
    1111
     12        smpl_t curtempo;
     13
    1214        while (i < 1000) {
    1315          aubio_tempo(o,in,out);
     16          curtempo = aubio_tempo_get_bpm(o);
     17          if (curtempo != 0.) {
     18            fprintf(stdout,"%f\n",curtempo);
     19          }
    1420          i++;
    1521        };
  • examples/utils.c

    r7212394 ref1c3b7  
    6060int isonset = 0;
    6161aubio_pickpeak_t * parms;
    62 
    6362
    6463/* pitch objects */
     
    301300  fftgrain  = new_cvec(buffer_size, channels);
    302301
     302 
    303303  if (usepitch) {
    304304    pitchdet = new_aubio_pitchdetection(buffer_size*4,
     
    313313  /* phase vocoder */
    314314  pv = new_aubio_pvoc(buffer_size, overlap_size, channels);
     315 
    315316  /* onsets */
    316317  parms = new_aubio_peakpicker(threshold);
     
    346347  del_fvec(onset);
    347348  del_fvec(woodblock);
     349 
    348350  aubio_cleanup();
    349351}
  • examples/utils.h

    r7212394 ref1c3b7  
    9898extern aubio_pickpeak_t * parms;
    9999
    100 
    101100/* pitch objects */
    102101extern smpl_t pitch;
Note: See TracChangeset for help on using the changeset viewer.