Changeset ca1abdd for tests/src


Ignore:
Timestamp:
Oct 19, 2009, 10:51:59 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
b14107f
Parents:
9f07d52
Message:

rename aubio_pitchdetection to aubio_pitch

Location:
tests/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/src/Makefile.am

    r9f07d52 rca1abdd  
    2727        test-pitchfcomb \
    2828        test-pitchmcomb \
    29         test-pitchdetection \
     29        test-pitch \
    3030        test-beattracking \
    3131        test-onset \
  • tests/src/test-pitchdetection.c

    r9f07d52 rca1abdd  
    1111  fvec_t *in = new_fvec (hop_s, channels);      /* input buffer */
    1212  fvec_t *out = new_fvec (1, channels); /* input buffer */
    13   aubio_pitchdetection_t *o =
    14       new_aubio_pitchdetection ("default", win_s, hop_s, channels, samplerate);
     13  aubio_pitch_t *o =
     14      new_aubio_pitch ("default", win_s, hop_s, channels, samplerate);
    1515  uint_t i = 0;
    1616
    1717  while (i < 100) {
    18     aubio_pitchdetection_do (o, in, out);
     18    aubio_pitch_do (o, in, out);
    1919    i++;
    2020  };
    2121
    22   del_aubio_pitchdetection (o);
     22  del_aubio_pitch (o);
    2323  del_fvec (in);
    2424  aubio_cleanup ();
Note: See TracChangeset for help on using the changeset viewer.