Changeset 4d733b5
- Timestamp:
- Dec 15, 2013, 3:10:50 AM (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:
- a7e766b
- Parents:
- d626fac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/utils.c
rd626fac r4d733b5 84 84 this_source = new_aubio_source ((char_t*)source_uri, samplerate, hop_size); 85 85 if (this_source == NULL) { 86 outmsg ("Could not open input file %s\n", source_uri);86 errmsg ("Error: could not open input file %s\n", source_uri); 87 87 exit (1); 88 88 } … … 93 93 uint_t sink_exists = (access(sink_uri, F_OK) == 0 ); 94 94 if (!force_overwrite && sink_exists) { 95 outmsg ("Output file %s already exists, use -f to overwrite.\n",95 errmsg ("Error: output file %s already exists, use -f to overwrite.\n", 96 96 sink_uri); 97 97 exit (1); … … 99 99 this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate); 100 100 if (this_sink == NULL) { 101 outmsg ("Could not openoutput file %s\n", sink_uri);101 errmsg ("Error: could not create output file %s\n", sink_uri); 102 102 exit (1); 103 103 }
Note: See TracChangeset
for help on using the changeset viewer.