[-O method] [-t thres]
[-T time-format]
[-s sil] [-m] [-f]
- [-j] [-v] [-h]
+ [-j] [-n miditap-note] [-V miditap-velo]
+ [-v] [-h]
DESCRIPTION
-j, --jack Use Jack input/output. You will need a Jack connection
controller to feed aubio some signal and listen to its output.
+ -n, --miditap-note Override note value for MIDI tap. Defaults to 69.
+
+ -V, --miditap-velop Override velocity value for MIDI tap. Defaults to 65.
+
-h, --help Print a short help message and exit.
-v, --verbose Be verbose.
#endif /* PROG_HAS_OUTPUT */
#ifdef PROG_HAS_JACK
" -j --jack use Jack\n"
+ " -n --miditap-note MIDI note\n"
+ " -V --miditap-velo MIDI velocity\n"
#endif /* PROG_HAS_JACK */
" -v --verbose be verbose\n"
" -h --help display this message\n"
const char *options = "hv"
"i:r:B:H:"
#ifdef PROG_HAS_JACK
- "j"
+ "jn:V:"
#endif /* PROG_HAS_JACK */
#ifdef PROG_HAS_OUTPUT
"o:"
{"hopsize", 1, NULL, 'H'},
#ifdef PROG_HAS_JACK
{"jack", 0, NULL, 'j'},
+ {"miditap-note", 1, NULL, 'n'},
+ {"miditap-velo", 1, NULL, 'V'},
#endif /* PROG_HAS_JACK */
#ifdef PROG_HAS_OUTPUT
{"output", 1, NULL, 'o'},
case 'j':
usejack = 1;
break;
+ case 'n':
+ miditap_note = atoi (optarg);
+ break;
+ case 'V':
+ miditap_velo = atoi (optarg);
+ break;
case 'i':
source_uri = optarg;
break;