summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorVolker Fischer <corrados@users.noreply.github.com>2021-02-09 20:32:10 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-02-09 20:32:10 +0100
commit3dd3c332414bfbebd69bfd71a4a3198198525eb6 (patch)
tree9dff61eab647703581c80b1e1b276571586696d7 /drumgizmo/drumgizmoc.cc
parent9310ffe5959ce4de02204b6cd251d4b4a58c69b9 (diff)
Add ALSA midi input support.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 159c533..c6b43f0 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -94,6 +94,7 @@ static std::string arguments()
output <<
"Input engine parameters:\n"
" jackmidi: midimap=<midimapfile>\n"
+ " alsamidi: 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"
@@ -105,7 +106,8 @@ static std::string arguments()
"\n"
"Output engine parameters:\n"
" alsa: dev=<device> (default 'default'), frames=<frames> (default "
- "32)\n"
+ "32),\n"
+ " periods=<periods> (default 3)\n"
" srate=<samplerate> (default 441000)\n"
" oss: dev=<device> (default '/dev/dsp'), srate=<samplerate>,\n"
" max_fragments=<number> (default 4, see man page for more info),\n"
@@ -261,7 +263,7 @@ int main(int argc, char* argv[])
});
opt.add("inputengine", required_argument, 'i',
- "dummy|test|jackmidi|midifile Use said event input engine.",
+ "dummy|test|jackmidi|alsamidi|midifile Use said event input engine.",
[&]()
{
std::string engine = optarg;