Changeset 9da4202


Ignore:
Timestamp:
Jan 12, 2017, 11:03:06 PM (7 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:
c4d014a
Parents:
4cb7a0a (diff), 29a5e27 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'miditap', thanks to Tres Seaver for his contributions

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • doc/aubioonset.txt

    r4cb7a0a r9da4202  
    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.
  • doc/aubiotrack.txt

    r4cb7a0a r9da4202  
    99             [-T time-format]
    1010             [-s sil] [-m]
    11              [-j] [-v] [-h]
     11             [-j] [-N miditap-note] [-V miditap-velo]
     12             [-v] [-h]
    1213
    1314DESCRIPTION
     
    5556  controller to feed aubio some signal and listen to its output.
    5657
     58  -N, --miditap-note  Override note value for MIDI tap. Defaults to 69.
     59
     60  -V, --miditap-velop  Override velocity value for MIDI tap. Defaults to 65.
     61
    5762  -T, --timeformat format  Set time format (samples, ms, seconds). Defaults to
    5863  seconds.
  • examples/parse_args.h

    r4cb7a0a r9da4202  
    118118#ifdef PROG_HAS_JACK
    119119      "       -j      --jack             use Jack\n"
     120#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
     121      "       -N      --miditap-note     MIDI note; default=69.\n"
     122      "       -V      --miditap-velo     MIDI velocity; default=65.\n"
     123#endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */
    120124#endif /* PROG_HAS_JACK */
    121125      "       -v      --verbose          be verbose\n"
     
    137141#ifdef PROG_HAS_JACK
    138142    "j"
     143#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
     144    "N:V:"
     145#endif /* defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH) */
    139146#endif /* PROG_HAS_JACK */
    140147#ifdef PROG_HAS_OUTPUT
     
    165172#ifdef PROG_HAS_JACK
    166173    {"jack",                  0, NULL, 'j'},
     174#if defined(PROG_HAS_ONSET) && !defined(PROG_HAS_PITCH)
     175    {"miditap-note",          1, NULL, 'N'},
     176    {"miditap-velo",          1, NULL, 'V'},
     177#endif /* PROG_HAS_ONSET !PROG_HAS_PITCH */
    167178#endif /* PROG_HAS_JACK */
    168179#ifdef PROG_HAS_OUTPUT
     
    208219        usejack = 1;
    209220        break;
     221      case 'N':
     222        miditap_note = atof (optarg);
     223        break;
     224      case 'V':
     225        miditap_velo = atof (optarg);
     226        break;
    210227      case 'i':
    211228        source_uri = optarg;
Note: See TracChangeset for help on using the changeset viewer.