aboutsummaryrefslogtreecommitdiffstats
path: root/doc/jalv.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/jalv.1')
-rw-r--r--doc/jalv.1205
1 files changed, 123 insertions, 82 deletions
diff --git a/doc/jalv.1 b/doc/jalv.1
index 068596c..a0ec16c 100644
--- a/doc/jalv.1
+++ b/doc/jalv.1
@@ -1,84 +1,125 @@
-.TH JALV 1 "18 Feb 2017"
-
-.SH NAME
-.B jalv \- Run an LV2 plugin as a JACK application (console version).
-
-.SH SYNOPSIS
-.B jalv [OPTION]... PLUGIN_URI
-
-.SH OPTIONS
-
-.TP
-\fB\-b SIZE\fR
-Buffer size for plugin <=> UI communication.
-
-.TP
-\fB\-c SYM=VAL\fR
-Set control value (e.g. "vol=1.4").
-
-.TP
-\fB\-d\fR
-Dump plugin <=> UI communication.
-
-.TP
-\fB\-U URI\fR
-Load the UI with the given URI.
-
-.TP
-\fB\-h\fR
-Print the command line options.
-
-.TP
-\fB\-i\fR
-Ignore input on stdin (for background use).
-
-.TP
-\fB\-l DIR\fR
-Load state from state directory.
-
-.TP
-\fB\-n NAME\fR
-Jack client name
-
-.TP
-\fB\-p\fR
-Print control output changes to stdout.
-
-.TP
-\fB\-s\fR
+.\" # Copyright 2024 David Robillard <d@drobilla.net>
+.\" # SPDX-License-Identifier: ISC
+.Dd December 20, 2024
+.Dt JALV 1
+.Os
+.Sh NAME
+.Nm jalv
+.Nd run an LV2 plugin with a command-line interface
+.Sh SYNOPSIS
+.Nm jalv
+.Op Fl dhipstx
+.Op Fl b Ar size
+.Op Fl c Ar symbol=value
+.Op Fl U Ar ui_uri
+.Op Fl l Ar dir
+.Op Fl n Ar name
+.Ar plugin_uri
+.Sh DESCRIPTION
+.Nm
+is a simple LV2 host that runs one plugin.
+It has several versions, this one has an interactive command-line interface.
+.Pp
+.Nm
+has one positional argument, the URI of an installed LV2 plugin.
+.Pp
+The options are as follows:
+.Bl -tag -width 3n
+.It Fl b Ar bytes
+Buffer size for communication between plugin and UI.
+The default value should be enough,
+but if there are overflows,
+this option can be used to allocate more space.
+.It Fl c Ar symbol=value
+Set control value, for example,
+.Fl c Ar vol=1.4
+where
+.Dq vol
+is the symbol of a control port on the plugin.
+.It Fl d
+Dump communication between plugin and UI to
+.Dv stdout .
+Note that this may print an extreme amount of text,
+piping the output to a pager or file is recommended.
+.It Fl h
+Print the command line options and exit.
+.It Fl i
+Ignore input on
+.Dv stdin
+and run non-interactively.
+.It Fl l Ar dir
+Load state from the given directory before running the plugin.
+.It Fl n Ar name
+Use the given JACK client name.
+Note that JACK may adjust the name if necessary unless
+.Fl x
+is also given.
+.It Fl p
+Print control output changes to
+.Dv stdout .
+.It Fl s
Show plugin UI if possible.
-
-This option only works when plugins provide a UI that is usable via the non-embeddable showHide interface. For other, embeddable UIs, use jalv.gtk3(1) or jalv.qt5(1).
-
-.TP
-\fB\-t\fR
-Print trace messages from plugin
-
-.TP
-\fB\-x\fR
-Use only exact Jack client name, and exit if it is taken
-
-.SH COMMANDS
-
+This option only works when plugins provide a UI that uses the non-embeddable
+.Li showHide
+interface.
+For embeddable UIs, use
+.Xr jalv.gtk3 1
+instead.
+.It Fl t
+Print trace messages from plugin.
+This enables the
+.Dq trace
+log defined by LV2, which is used by some plugins to print debugging output.
+.It Fl U Ar uri
+Load the UI with the given URI.
+Usually only one suitable UI is available on a given platform,
+which is used by default.
+If there are several, this option can be used to select which is loaded.
+.It Fl V
+Print version information and exit.
+.It Fl x
+Use only the exact JACK client name given by
+.Fl n
+or exit if it's unavailable.
+.El
+.Sh COMMANDS
The Jalv prompt supports several commands for interactive control:
-
- \fBhelp\fR Display help message
- \fBcontrols\fR Print settable control values
- \fBmonitors\fR Print output control values
- \fBpresets\fR Print available presets
- \fBpreset URI\fR Set preset
- \fBset INDEX VALUE\fR Set control value by port index
- \fBset SYMBOL VALUE\fR Set control value by symbol
- \fBSYMBOL = VALUE\fR Set control value by symbol
-
-.SH "SEE ALSO"
-.BR jalv.gtk3(1),
-.BR jalv.qt5(2),
-.BR lv2ls(1),
-.BR jackd(1)
-
-.SH AUTHOR
-jalv was written by David Robillard <d@drobilla.net>
-.PP
-This manual page was written by Jaromír Mikes <mira.mikes@seznam.cz>
-and David Robillard <d@drobilla.net>
+.Pp
+.Bl -tag -width 16n -compact
+.It Ic help
+Display help message.
+.It Ic controls
+Print settable control values.
+.It Ic monitors
+Print output control values.
+.It Ic presets
+Print available presets.
+.It Ic preset Ar uri
+Set preset.
+.It Ic set index value
+Set control value by port index.
+.It Ic set Ar symbol Ar value
+Set control value by symbol.
+.It Ar symbol Cm = Ar value
+Set control value by symbol.
+.El
+.Sh ENVIRONMENT
+.Bl -tag -width LV2_PATH
+.It Ev LV2_PATH
+Search path for LV2 bundles, in
+.Ev PATH
+format.
+.El
+.Sh SEE ALSO
+.Xr jalv.gtk3 1 ,
+.Xr jalv.qt5 1 ,
+.Xr lv2ls 1
+.Sh AUTHORS
+.Nm
+was written by
+.An David Robillard
+.Aq Mt d@drobilla.net ,
+with contributions by
+Robin Gareus,
+Hanspeter Portner,
+and others.