Changeset ccdc51b for examples


Ignore:
Timestamp:
Mar 10, 2017, 8:34:38 PM (8 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:
2f99427
Parents:
1013c5d
Message:

examples/aubiotrack.c: avoid saturation in when using --mix-input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiotrack.c

    r1013c5d rccdc51b  
    4747    aubio_wavetable_stop ( wavetable );
    4848  }
    49   if (mix_input)
     49  if (mix_input) {
    5050    aubio_wavetable_do (wavetable, ibuf, obuf);
    51   else
     51    fvec_clamp(obuf, 1.);
     52  } else {
    5253    aubio_wavetable_do (wavetable, obuf, obuf);
     54  }
    5355}
    5456
Note: See TracChangeset for help on using the changeset viewer.