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