Ignore:
Timestamp:
Dec 7, 2013, 12:14:50 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:
44e94f3c
Parents:
cc6b221
Message:

examples/: move parse_args to parse_args.h, clean up, remove lash and old frames_delay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiotrack.c

    rcc6b221 r1b25a70  
    2020
    2121#include "utils.h"
     22#define PROG_HAS_TEMPO 1
     23#include "parse_args.h"
    2224
    2325uint_t pos = 0;    /* frames%dspblocksize */
     
    7678
    7779  tempo_out = new_fvec(2);
    78   bt = new_aubio_tempo(onset_mode,buffer_size,overlap_size, samplerate);
    79   if (threshold != 0.) aubio_tempo_set_threshold (bt, threshold);
     80  bt = new_aubio_tempo(tempo_method,buffer_size,overlap_size, samplerate);
     81  if (onset_threshold != 0.) aubio_tempo_set_threshold (bt, onset_threshold);
    8082
    8183  wavetable = new_aubio_wavetable (samplerate, overlap_size);
Note: See TracChangeset for help on using the changeset viewer.