Changeset fd9590f for examples


Ignore:
Timestamp:
Jan 12, 2017, 10:11:41 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
29a5e27
Parents:
6894576
Message:

examples/parse_args.h: use -N for --miditap-note

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    r6894576 rfd9590f  
    119119      "       -j      --jack             use Jack\n"
    120120#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
    121       "       -n      --miditap-note     MIDI note\n"
    122       "       -V      --miditap-velo     MIDI velocity\n"
     121      "       -N      --miditap-note     MIDI note; default=69.\n"
     122      "       -V      --miditap-velo     MIDI velocity; default=65.\n"
    123123#endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */
    124124#endif /* PROG_HAS_JACK */
     
    173173    {"jack",                  0, NULL, 'j'},
    174174#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
    175     {"miditap-note",          1, NULL, 'n'},
     175    {"miditap-note",          1, NULL, 'N'},
    176176    {"miditap-velo",          1, NULL, 'V'},
    177177#endif /* PROG_HAS_ONSET !PROG_HAS_PITCH */
     
    219219        usejack = 1;
    220220        break;
    221       case 'n':
     221      case 'N':
    222222        miditap_note = atof (optarg);
    223223        break;
Note: See TracChangeset for help on using the changeset viewer.