Changeset 340cb93 for examples/aubioquiet.c
- Timestamp:
- Aug 12, 2015, 4:15:39 PM (9 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:
- df7be43
- Parents:
- a90e9d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioquiet.c
ra90e9d4 r340cb93 39 39 void process_print (void) { 40 40 int curblocks = (blocks - 4) > 0 ? blocks - 4 : 0; 41 if (issilence == -1) { 42 outmsg("NOISY: %f\n",curblocks*hop_size/(float)samplerate); 43 } else if (issilence == 2) { 44 outmsg("QUIET: %f\n",curblocks*hop_size/(float)samplerate); 41 if (issilence == -1 || issilence == 2) { 42 if (issilence == -1) { 43 outmsg ("NOISY: "); 44 } else { // if (issilence == 2) { 45 outmsg ("QUIET: "); 46 } 47 print_time (curblocks * hop_size); 48 outmsg ("\n"); 45 49 } 46 50 }
Note: See TracChangeset
for help on using the changeset viewer.