shithub: aubio

Download patch

ref: 68945760b9b9a589030ca79674376a8020ad658d
parent: 75435f070e4f7685645996ed744215359cbed639
author: Paul Brossier <[email protected]>
date: Thu Jan 12 17:09:24 EST 2017

examples/parse_args.h: use atof for miditap note and velo

--- a/examples/parse_args.h
+++ b/examples/parse_args.h
@@ -219,10 +219,10 @@
         usejack = 1;
         break;
       case 'n':
-        miditap_note = atoi (optarg);
+        miditap_note = atof (optarg);
         break;
       case 'V':
-        miditap_velo = atoi (optarg);
+        miditap_velo = atof (optarg);
         break;
       case 'i':
         source_uri = optarg;