Changeset ce6f652 for src/tempo


Ignore:
Timestamp:
Jul 31, 2015, 10:25:30 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
8e94af5
Parents:
053495b
Message:

src/tempo/tempo.c: add silence detection (closes #23), add old behavior in examples/aubiotrack.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/tempo.c

    r053495b rce6f652  
    110110      tempo->data[0] = o->out->data[i] - FLOOR(o->out->data[i]); /* set tactus */
    111111      /* test for silence */
    112       /*
    113112      if (aubio_silence_detection(input, o->silence)==1) {
    114113        tempo->data[0] = 0; // unset beat if silent
    115114      }
    116       */
    117115      o->last_beat = o->total_frames + (uint_t)ROUND(tempo->data[0] * o->hop_size);
    118116    }
Note: See TracChangeset for help on using the changeset viewer.