Changeset 40acfbc for examples/utils.c
- Timestamp:
- Oct 21, 2009, 3:08:24 PM (15 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:
- 1f8e522
- Parents:
- 1c190d5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
r1c190d5 r40acfbc 57 57 /* energy,specdiff,hfc,complexdomain,phase */ 58 58 char_t * onset_mode = "default"; 59 smpl_t threshold = 0. 3;59 smpl_t threshold = 0.0; // leave unset, only set as asked 60 60 smpl_t silence = -90.; 61 61 uint_t buffer_size = 512; //1024; … … 149 149 onset_mode = optarg; 150 150 break; 151 case 's': /* thresholdvalue for onset */151 case 's': /* silence value for onset */ 152 152 silence = (smpl_t) atof (optarg); 153 153 break; 154 154 case 't': /* threshold value for onset */ 155 155 threshold = (smpl_t) atof (optarg); 156 /*157 if (!isfinite(threshold)) {158 debug("could not get threshold.\n");159 abort();160 }161 */162 156 break; 163 157 case 'p':
Note: See TracChangeset
for help on using the changeset viewer.