Changeset f4adefaa
- Timestamp:
- Dec 29, 2013, 12:39:45 AM (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:
- fc7043a
- Parents:
- 822190c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiopitch.c
r822190c rf4adefaa 31 31 void 32 32 process_block(fvec_t * ibuf, fvec_t * obuf) { 33 aubio_pitch_do (o, ibuf, pitch); 34 if ( !usejack && ! sink_uri ) return; 33 35 fvec_zeros(obuf); 34 aubio_pitch_do (o, ibuf, pitch);35 36 smpl_t freq = fvec_get_sample(pitch, 0); 36 37 aubio_wavetable_set_amp ( wavetable, aubio_level_lin (ibuf) ); 37 38 aubio_wavetable_set_freq ( wavetable, freq ); 38 39 39 if (mix_input) 40 40 aubio_wavetable_do (wavetable, ibuf, obuf);
Note: See TracChangeset
for help on using the changeset viewer.