Ignore:
Timestamp:
Dec 18, 2013, 8:07:27 AM (11 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:
6465d7f
Parents:
1573b16 (diff), c3c6305 (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:

Merge branch 'master' of aubio.org:/git/aubio/aubio into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiotrack.c

    r1573b16 r21234ee  
    2929fvec_t * tempo_out;
    3030smpl_t is_beat = 0;
    31 smpl_t is_onset = 0;
    3231uint_t is_silence = 0.;
    3332
    3433void process_block(fvec_t * ibuf, fvec_t *obuf) {
    3534  aubio_tempo_do (tempo, ibuf, tempo_out);
    36   is_beat = fvec_read_sample (tempo_out, 0);
    37   is_onset = fvec_read_sample (tempo_out, 1);
     35  is_beat = fvec_get_sample (tempo_out, 0);
    3836  if (silence_threshold != -90.)
    3937    is_silence = aubio_silence_detection(ibuf, silence_threshold);
     
    5452    outmsg("%f\n", aubio_tempo_get_last_s(tempo) );
    5553  }
    56   //if ( is_onset )
    57   //  outmsg(" \t \t%f\n",(blocks)*hop_size/(float)samplerate);
    5854}
    5955
Note: See TracChangeset for help on using the changeset viewer.