- Timestamp:
- Nov 17, 2013, 6:23:34 PM (11 years ago)
- 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:
- af3cfb3
- Parents:
- c1ddeb8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiopitch.c
rc1ddeb8 r5b41ef9 41 41 aubio_pitch_do (o, ibuf, pitch); 42 42 smpl_t freq = fvec_read_sample(pitch, 0); 43 smpl_t amp = powf(10., aubio_db_spl(ibuf)*.05 ); 44 aubio_wavetable_set_amp ( wavetable, amp ); 43 aubio_wavetable_set_amp ( wavetable, aubio_level_lin (ibuf) ); 45 44 if (freq != 0.0) { 46 45 aubio_wavetable_set_freq ( wavetable, freq );
Note: See TracChangeset
for help on using the changeset viewer.