Ignore:
Timestamp:
Mar 10, 2017, 2:26:32 PM (7 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, sampler
Children:
ee8a57c
Parents:
00d0275 (diff), 67b6618 (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' into awhitening

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiopitch.c

    r00d0275 r155cc10  
    2222#define PROG_HAS_PITCH 1
    2323#define PROG_HAS_OUTPUT 1
     24#define PROG_HAS_SILENCE 1
    2425#define PROG_HAS_JACK 1
    2526#include "parse_args.h"
     
    5253
    5354int main(int argc, char **argv) {
     55  int ret = 0;
    5456
    5557  buffer_size = 2048;
     
    6567
    6668  o = new_aubio_pitch (pitch_method, buffer_size, hop_size, samplerate);
     69  if (o == NULL) { ret = 1; goto beach; }
    6770  if (pitch_tolerance != 0.)
    6871    aubio_pitch_set_tolerance (o, pitch_tolerance);
     
    8386  del_fvec (pitch);
    8487
     88beach:
    8589  examples_common_del();
    86   return 0;
     90  return ret;
    8791}
    88 
Note: See TracChangeset for help on using the changeset viewer.