Changeset d28a26a for examples


Ignore:
Timestamp:
Aug 23, 2014, 8:36:17 PM (10 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, pitchshift, sampler, timestretch, yinfft+
Children:
bf45eb5
Parents:
493b832
Message:

examples/parse_args.h: improve short documentation (closes #12)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/parse_args.h

    r493b832 rd28a26a  
    6969#endif
    7070      "       -r      --samplerate       select samplerate\n"
     71      "                 use 0 to use input source samplerate, or 32000 to force 32kHz\n"
    7172      "       -B      --bufsize          set buffer size\n"
     73      "                 number of frames to run the analysis on\n"
    7274      "       -H      --hopsize          set hopsize\n"
     75      "                 number of frames to read from source before each analysis\n"
    7376#ifdef PROG_HAS_ONSET
    7477      "       -O      --onset            select onset detection algorithm\n"
     78      "                 <default|energy|hfc|complex|phase|specdiff|kl|mkl|specflux>;\n"
     79      "                 default=hfc\n"
    7580      "       -t      --onset-threshold  set onset detection threshold\n"
     81      "                 a value between 0.1 (more detections) and 1 (less); default=0.3\n"
    7682#endif /* PROG_HAS_ONSET */
    7783#ifdef PROG_HAS_PITCH
    7884      "       -p      --pitch            select pitch detection algorithm\n"
     85      "                 <default|yinfft|yin|mcomb|fcomb|schmitt>; default=yinfft\n"
    7986      "       -u      --pitch-unit       select pitch output unit\n"
     87      "                 <default|freq|hertz|Hz|midi|cent|bin>; default=freq\n"
    8088      "       -l      --pitch-tolerance  select pitch tolerance\n"
     89      "                 (yin, yinfft only) a value between 0.1 and 0.7; default=0.3\n"
    8190#endif /* PROG_HAS_PITCH */
    8291      "       -s      --silence          select silence threshold\n"
     92      "                 a value in dB, for instance -70, or -100; default=-90\n"
    8393#ifdef PROG_HAS_OUTPUT
    8494      "       -m      --mix-input        mix input signal with output signal\n"
     95      "                 input signal will be added to output synthesis\n"
    8596      "       -f      --force-overwrite  overwrite output file if needed\n"
     97      "                 do not fail if output file already exists\n"
    8698#endif
    8799#ifdef PROG_HAS_JACK
Note: See TracChangeset for help on using the changeset viewer.