Changeset 71bc8b0


Ignore:
Timestamp:
Jan 12, 2017, 5:38:35 PM (8 years ago)
Author:
Tres Seaver <tseaver@palladion.com>
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:
eda2fd0
Parents:
ed6b302
Message:

aubioonset: user-set MIDI tap note / velocity values.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/aubioonset.txt

    red6b302 r71bc8b0  
    1010             [-T time-format]
    1111             [-s sil] [-m] [-f]
    12              [-j] [-v] [-h]
     12             [-j] [-n miditap-note] [-V miditap-velo]
     13             [-v] [-h]
    1314
    1415DESCRIPTION
     
    7071  -j, --jack  Use Jack input/output. You will need a Jack connection
    7172  controller to feed aubio some signal and listen to its output.
     73
     74  -n, --miditap-note  Override note value for MIDI tap. Defaults to 69.
     75
     76  -V, --miditap-velop  Override velocity value for MIDI tap. Defaults to 65.
    7277
    7378  -h, --help  Print a short help message and exit.
  • examples/parse_args.h

    red6b302 r71bc8b0  
    118118#ifdef PROG_HAS_JACK
    119119      "       -j      --jack             use Jack\n"
     120      "       -n      --miditap-note     MIDI note\n"
     121      "       -V      --miditap-velo     MIDI velocity\n"
    120122#endif /* PROG_HAS_JACK */
    121123      "       -v      --verbose          be verbose\n"
     
    136138    "i:r:B:H:"
    137139#ifdef PROG_HAS_JACK
    138     "j"
     140    "jn:V:"
    139141#endif /* PROG_HAS_JACK */
    140142#ifdef PROG_HAS_OUTPUT
     
    165167#ifdef PROG_HAS_JACK
    166168    {"jack",                  0, NULL, 'j'},
     169    {"miditap-note",          1, NULL, 'n'},
     170    {"miditap-velo",          1, NULL, 'V'},
    167171#endif /* PROG_HAS_JACK */
    168172#ifdef PROG_HAS_OUTPUT
     
    208212        usejack = 1;
    209213        break;
     214      case 'n':
     215        miditap_note = atoi (optarg);
     216        break;
     217      case 'V':
     218        miditap_velo = atoi (optarg);
     219        break;
    210220      case 'i':
    211221        source_uri = optarg;
Note: See TracChangeset for help on using the changeset viewer.