Ignore:
Timestamp:
Jan 3, 2014, 12:47:22 AM (10 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:
2e01060
Parents:
89e9e71 (diff), 4fe62ba (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 'develop' of aubio.org:/git/aubio/aubio into develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiopitch.c

    r89e9e71 rd4791e5  
    2929fvec_t *pitch;
    3030
    31 void
    32 process_block(fvec_t * ibuf, fvec_t * obuf) {
     31void process_block(fvec_t * ibuf, fvec_t * obuf)
     32{
     33  smpl_t freq;
     34  aubio_pitch_do (o, ibuf, pitch);
     35  if ( !usejack && ! sink_uri ) return;
    3336  fvec_zeros(obuf);
    34   aubio_pitch_do (o, ibuf, pitch);
    35   smpl_t freq = fvec_get_sample(pitch, 0);
     37  freq = fvec_get_sample(pitch, 0);
    3638  aubio_wavetable_set_amp ( wavetable, aubio_level_lin (ibuf) );
    3739  aubio_wavetable_set_freq ( wavetable, freq );
    38 
    3940  if (mix_input)
    4041    aubio_wavetable_do (wavetable, ibuf, obuf);
     
    4344}
    4445
    45 void
    46 process_print (void) {
     46void process_print (void)
     47{
    4748  smpl_t pitch_found = fvec_get_sample(pitch, 0);
    4849  outmsg("%f %f\n",(blocks)
Note: See TracChangeset for help on using the changeset viewer.