ref: fd9590f1d8ae17dade386fc3da91434b4f854afd
parent: 68945760b9b9a589030ca79674376a8020ad658d
author: Paul Brossier <piem@piem.org>
date: Thu Jan 12 17:11:41 EST 2017
examples/parse_args.h: use -N for --miditap-note
--- a/examples/parse_args.h
+++ b/examples/parse_args.h
@@ -118,8 +118,8 @@
#ifdef PROG_HAS_JACK
" -j --jack use Jack\n"
#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
- " -n --miditap-note MIDI note\n"
- " -V --miditap-velo MIDI velocity\n"
+ " -N --miditap-note MIDI note; default=69.\n"
+ " -V --miditap-velo MIDI velocity; default=65.\n"
#endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */
#endif /* PROG_HAS_JACK */
" -v --verbose be verbose\n"
@@ -172,7 +172,7 @@
#ifdef PROG_HAS_JACK
{"jack", 0, NULL, 'j'},
#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
- {"miditap-note", 1, NULL, 'n'},
+ {"miditap-note", 1, NULL, 'N'},
{"miditap-velo", 1, NULL, 'V'},
#endif /* PROG_HAS_ONSET !PROG_HAS_PITCH */
#endif /* PROG_HAS_JACK */
@@ -218,7 +218,7 @@
case 'j':
usejack = 1;
break;
- case 'n':
+ case 'N':
miditap_note = atof (optarg);
break;
case 'V':