summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-02-09 20:18:40 +0100
committerJonas Suhr Christensen <jsc@umbraculum.org>2015-02-09 20:18:40 +0100
commit0fdf66b095324a7cc410589b12e682c94e664715 (patch)
tree7f9a5014c7f9b4f49bd3889db75b970304dc075e /drumgizmo/drumgizmoc.cc
parent225adcb9d4b13e2b3ada5f9674729f90b91483fc (diff)
Extended usage information.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc28
1 files changed, 23 insertions, 5 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index d8479fa..4bfd608 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -57,13 +57,31 @@ static const char usage_str[] =
"Usage: %s [options] drumkitfile\n"
"Options:\n"
" -p, --preload Load entire kit audio files into memory (uses ALOT of memory).\n"
-" -i, --inputengine dummy|test|jackmidi|midifile Use said event input engine.\n"
-" -I, --inputparms parmlist Set input engine parameters.\n"
-" -o, --outputengine dummy|alsa|jack|sndfile Use said audio output engine.\n"
-" -O, --outputparms parmlist Set output engine parameters.\n"
-" -e, --endpos Number of samples to process, -1: infinite.\n"
+" -i, --inputengine dummy|test|jackmidi|midifile Use said event input engine.\n"
+" -I, --inputparms parmlist Set input engine parameters.\n"
+" -o, --outputengine dummy|alsa|jack|sndfile Use said audio output engine.\n"
+" -O, --outputparms parmlist Set output engine parameters.\n"
+" -e, --endpos Number of samples to process, -1: infinite.\n"
" -v, --version Print version information and exit.\n"
" -h, --help Print this message and exit.\n"
+"\n"
+"Input engine parameters:\n"
+" jackmidi: midimap=<midimapfile>\n"
+" midifile: file=<midifile>, speed=<tempo> (default 1.0),\n"
+" track=<miditrack> (default -1, all tracks)\n"
+" midimap=<midimapfile>, loop=<true|false>\n"
+" test: p=<hit_propability> (default 0.1)\n"
+" instr=<instrument> (default -1, random instrument)\n"
+" len=<seconds> (default -1, forever)\n"
+" dummy:\n"
+"\n"
+"Output engine parameters:\n"
+" alsa: dev=<device> (default 'default'), frames=<frames> (default 32)\n"
+" srate=<samplerate> (default 441000)\n"
+" wavfile: file=<filename> (default 'output'), srate=<samplerate> (default 44100)\n"
+" jackaudio:\n"
+" dummy:\n"
+"\n"
;
CliMain::CliMain() : MessageReceiver(MSGRCV_UI), loading(false)