- Timestamp:
- Dec 1, 2004, 3:03:26 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:
- 5a61c29
- Parents:
- b49daf6
- Location:
- examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
rb49daf6 r9cba1eb 95 95 obuf->data[0][pos] = 0.; 96 96 } 97 //aubio_pvoc_rdo(pv,fftgrain, obuf); 97 98 /* end of block loop */ 98 //aubio_pvoc_rdo(pv,fftgrain, obuf);99 99 pos = -1; /* so it will be zero next j loop */ 100 100 } … … 117 117 debug("Opening files ...\n"); 118 118 file = new_file_ro (input_filename); 119 file_info(file);119 if (verbose) file_info(file); 120 120 channels = aubio_file_channels(file); 121 121 if (output_filename != NULL) … … 144 144 } 145 145 146 // command line argument parsing147 146 if(usejack) { 148 147 #ifdef JACK_SUPPORT … … 173 172 * delay to ensure the label is _before_ the 174 173 * actual onset */ 175 if (isonset && verbose) {174 if (isonset && output_filename == NULL) { 176 175 outmsg("%f\n",(frames-4)*overlap_size/(float)samplerate); 177 176 } -
examples/utils.c
rb49daf6 r9cba1eb 118 118 119 119 if (input_filename != NULL) { 120 errmsg ("Input file : %s\n", input_filename );120 debug ("Input file : %s\n", input_filename ); 121 121 } else if (input_filename != NULL && output_filename != NULL) { 122 errmsg ("Input file : %s\n", input_filename );123 errmsg ("Output file : %s\n", output_filename );122 debug ("Input file : %s\n", input_filename ); 123 debug ("Output file : %s\n", output_filename ); 124 124 } else { 125 125 if (JACK_SUPPORT) 126 126 { 127 errmsg ("Jack input output\n");127 debug ("Jack input output\n"); 128 128 usejack = 1; 129 129 } else { 130 errmsg ("Error: Could not switch to jack mode\n aubio was compiled without jack support\n");130 debug ("Error: Could not switch to jack mode\n aubio was compiled without jack support\n"); 131 131 exit(1); 132 132 }
Note: See TracChangeset
for help on using the changeset viewer.