Changeset c34336e for examples/aubiopitch.c
- Timestamp:
- Dec 17, 2013, 5:13:28 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:
- 941c9f9
- Parents:
- 5d10ac1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiopitch.c
r5d10ac1 rc34336e 33 33 fvec_zeros(obuf); 34 34 aubio_pitch_do (o, ibuf, pitch); 35 smpl_t freq = fvec_ read_sample(pitch, 0);35 smpl_t freq = fvec_get_sample(pitch, 0); 36 36 aubio_wavetable_set_amp ( wavetable, aubio_level_lin (ibuf) ); 37 37 aubio_wavetable_set_freq ( wavetable, freq ); … … 45 45 void 46 46 process_print (void) { 47 smpl_t pitch_found = fvec_ read_sample(pitch, 0);47 smpl_t pitch_found = fvec_get_sample(pitch, 0); 48 48 outmsg("%f %f\n",(blocks) 49 49 *hop_size/(float)samplerate, pitch_found); … … 70 70 if (pitch_unit != NULL) 71 71 aubio_pitch_set_unit (o, pitch_unit); 72 72 73 pitch = new_fvec (1); 73 74
Note: See TracChangeset
for help on using the changeset viewer.