Changeset 247ce7d


Ignore:
Timestamp:
Oct 18, 2009, 3:19:26 PM (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:
9f07d52
Parents:
bf1c6746
Message:

examples/aubionotes.c: update median usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubionotes.c

    rbf1c6746 r247ce7d  
    136136get_note (fvec_t * note_buffer, fvec_t * note_buffer2)
    137137{
    138   uint_t i = 0;
     138  uint_t i;
    139139  for (i = 0; i < note_buffer->length; i++) {
    140140    note_buffer2->data[0][i] = note_buffer->data[0][i];
    141141  }
    142   return fvec_median (note_buffer2);
     142  return fvec_median_channel (note_buffer2, 0);
    143143}
    144144
Note: See TracChangeset for help on using the changeset viewer.