- Timestamp:
- Mar 30, 2005, 4:53:46 AM (20 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:
- 3050cb8
- Parents:
- a4b089c
- Location:
- examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubionotes.c
ra4b089c r1f40359 72 72 aubio_midi_driver_t * mdriver; 73 73 aubio_midi_event_t * event; 74 75 unsigned int pos = 0; /*frames%dspblocksize*/ 74 76 75 77 void send_noteon(aubio_midi_driver_t * d, int pitch, int velo); … … 103 105 unsigned int i; /*channels*/ 104 106 unsigned int j; /*frames*/ 105 unsigned int pos = 0; /*frames%dspblocksize*/106 107 for (j=0;j<nframes;j++) { 107 108 if(usejack) { -
examples/aubioonset.c
ra4b089c r1f40359 60 60 int isonset = 0; 61 61 aubio_pickpeak_t * parms; 62 unsigned int pos = 0; /*frames%dspblocksize*/ 62 63 63 64 int aubio_process(float **input, float **output, int nframes) { 64 65 unsigned int i; /*channels*/ 65 66 unsigned int j; /*frames*/ 66 unsigned int pos = 0; /*frames%dspblocksize*/67 67 for (j=0;j<nframes;j++) { 68 68 if(usejack) { … … 120 120 if (verbose) file_info(file); 121 121 channels = aubio_file_channels(file); 122 samplerate = aubio_file_samplerate(file); 122 123 if (output_filename != NULL) 123 124 fileout = new_file_wo(file, output_filename);
Note: See TracChangeset
for help on using the changeset viewer.