Changeset 5f0ad50


Ignore:
Timestamp:
Mar 26, 2017, 3:39:27 PM (7 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:
b67e715
Parents:
1239d23
Message:

src/synth/wavetable.c: always clamp wavetable

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • examples/aubioonset.c

    r1239d23 r5f0ad50  
    4646  if (mix_input) {
    4747    aubio_wavetable_do (wavetable, ibuf, obuf);
    48     fvec_clamp(obuf, 1.);
    4948  } else {
    5049    aubio_wavetable_do (wavetable, obuf, obuf);
  • examples/aubiotrack.c

    r1239d23 r5f0ad50  
    4949  if (mix_input) {
    5050    aubio_wavetable_do (wavetable, ibuf, obuf);
    51     fvec_clamp(obuf, 1.);
    5251  } else {
    5352    aubio_wavetable_do (wavetable, obuf, obuf);
  • src/synth/wavetable.c

    r1239d23 r5f0ad50  
    104104      output->data[i] += input->data[i];
    105105    }
     106    fvec_clamp(obuf, 1.);
    106107  }
    107108}
Note: See TracChangeset for help on using the changeset viewer.