Ignore:
Timestamp:
Dec 8, 2013, 2:14:09 AM (11 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:
3826e0b
Parents:
fe6a393a
Message:

examples/aubio{trac,onset}.c: add silence option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubioquiet.c

    rfe6a393a rce6186a  
    2626void process_block(fvec_t * ibuf, fvec_t * obuf) {
    2727  fvec_zeros (obuf);
    28   if (aubio_silence_detection(ibuf, silence)==1) {
     28  if (aubio_silence_detection(ibuf, silence_threshold)==1) {
    2929    if (wassilence==1) issilence = 1;
    3030    else issilence = 2;
Note: See TracChangeset for help on using the changeset viewer.