examples/utils.c: do not add . at end of path
[aubio.git] / examples / utils.c
index f014f85..0987531 100644 (file)
@@ -81,7 +81,7 @@ examples_common_init (int argc, char **argv)
     debug ("Opening files ...\n");
     this_source = new_aubio_source ((char_t*)source_uri, samplerate, hop_size);
     if (this_source == NULL) {
-      outmsg ("Could not open input file %s.\n", source_uri);
+      outmsg ("Could not open input file %s\n", source_uri);
       exit (1);
     }
     if (samplerate == 0) {
@@ -90,7 +90,7 @@ examples_common_init (int argc, char **argv)
     if (sink_uri != NULL) {
       this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate);
       if (this_sink == NULL) {
-        outmsg ("Could not open output file %s.\n", sink_uri);
+        outmsg ("Could not open output file %s\n", sink_uri);
         exit (1);
       }
     }
@@ -185,9 +185,9 @@ send_noteon (int pitch, int velo)
   } else
 #endif
   if (velo == 0) {
-    outmsg ("%f\n", blocks * hop_size / (float) samplerate);
+    verbmsg ("%f\n", blocks * hop_size / (float) samplerate);
   } else {
-    outmsg ("%f\t%f\t", mpitch, blocks * hop_size / (float) samplerate);
+    verbmsg ("%f\t%f\t", mpitch, blocks * hop_size / (float) samplerate);
   }
 }