Changeset ce6f652 for src


Ignore:
Timestamp:
Jul 31, 2015, 10:25:30 PM (9 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:
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.