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/aubiopitch.c

    r1573b16 r21234ee  
    3333  fvec_zeros(obuf);
    3434  aubio_pitch_do (o, ibuf, pitch);
    35   smpl_t freq = fvec_read_sample(pitch, 0);
     35  smpl_t freq = fvec_get_sample(pitch, 0);
    3636  aubio_wavetable_set_amp ( wavetable, aubio_level_lin (ibuf) );
    3737  aubio_wavetable_set_freq ( wavetable, freq );
     
    4545void
    4646process_print (void) {
    47   smpl_t pitch_found = fvec_read_sample(pitch, 0);
     47  smpl_t pitch_found = fvec_get_sample(pitch, 0);
    4848  outmsg("%f %f\n",(blocks)
    4949      *hop_size/(float)samplerate, pitch_found);
     
    6464
    6565  o = new_aubio_pitch (pitch_method, buffer_size, hop_size, samplerate);
    66   if (pitch_tolerance != 0.) aubio_pitch_set_tolerance (o, pitch_tolerance);
    67   if (pitch_unit != NULL) aubio_pitch_set_unit (o, pitch_unit);
     66  if (pitch_tolerance != 0.)
     67    aubio_pitch_set_tolerance (o, pitch_tolerance);
     68  if (silence_threshold != -90.)
     69    aubio_pitch_set_silence (o, silence_threshold);
     70  if (pitch_unit != NULL)
     71    aubio_pitch_set_unit (o, pitch_unit);
     72
    6873  pitch = new_fvec (1);
    6974
Note: See TracChangeset for help on using the changeset viewer.