File: ghostess.1

package info (click to toggle)
ghostess 20120105-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 1,704 kB
  • ctags: 642
  • sloc: sh: 10,958; ansic: 5,995; makefile: 53
file content (219 lines) | stat: -rw-r--r-- 6,875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
.TH ghostess 1 "September 5th, 2010"
.SH NAME
ghostess \- graphical DSSI plugin host
.SH SYNOPSIS
.B ghostess
[\fB-debug \fIlevel\fR] [\fB-hostname \fIhostname\fR] [\fB-projdir \fIprojdir\fR]
[\fB-uuid \fIuuid\fR] [\fB-noauto\fR] [\fB-f \fIcfgfile\fR]
[\fI-n\fR] [\fB-chan \fIc\fR] [\fB-conf \fIk\fR \fIv\fR] [\fB-prog \fIb\fR \fIp\fR]
[\fB-port \fIp\fR \fIf\fR] \fIsoname\fR[\fI:label\fR] [\fI...\fR]
.SH DESCRIPTION
.B ghostess
is a DSSI host that listens for MIDI events, delivers them to DSSI
synth plugins, and outputs the resulting audio via JACK.
.B ghostess
also supports DSSI plugins having audio inputs (effects), LADSPA
plugins, and the use of DSSI-style user interfaces with LADSPA plugins.
.B ghostess
can host up to 32 plugin instances at one time.
.PP
Depending on the compile-time configuration,
.B ghostess
will receive MIDI events from ALSA, JACK MIDI, or CoreMIDI.
Unless otherwise specified by the
.B -chan
option, each plugin instance is sequentially assigned a MIDI channel,
wrapping from 15 (zero-based) back to 0 when necessary. Unless
.B \-noauto
is specified, plugin inputs and outputs are connected sequentially to
the available JACK physical input and output ports, respectively, wrapping back
to the first port whenever the available ports are exhausted.
.PP
At startup,
.B ghostess
presents a simple GTK+ user interface.  Each plugin instance is
represented in a frame, labeled with the plugin name, and containing
a MIDI activity indicator and a \'UI\' button. Left-clicking the
\'UI\' button will start or hide the plugin's user interface (UI).
Right-clicking the \'UI\' button will allowing starting, hiding,
showing, or terminating the plugin's UI.
.PP
The \'Save Configuration...\' option of
.BR ghostess 's
\'File\' menu allows saving the current configuration of all plugins
to a file. Basically, the file is just a Bourne shell script that
can be used to recreate the configuration.
.PP
.B ghostess
comes with a minimal universal DSSI GUI,
.BR ghostess_universal_gui ,
that can be used with any DSSI or LADSPA plugin.  It does not read
RDF files or instantiate the plugin, so it's not as full-featured as
a universal GUI could be, but it does allow for adjusting
DSSI/LADSPA ports, selecting bank and program (for plugins with
select_program()), and sending test notes (for plugins with any of
the run_synth() functions). If ghostess cannot find a UI for a
plugin, and the universal GUI is in the
.BR PATH ,
.B ghostess
will launch it.
.SH OPTIONS
The following global options are available:
.TP
.BI -debug " level"
Sets bitfield flags which determine which debugging information is
printed.  The default
.I level
of 1 shows errors only, 0 shows nothing, and \-1 shows everything.
See ghostess.h for details.
.TP
.BI -hostname " hostname"
Sets
.I hostname
as the name
.B ghostess
uses for itself, for JACK and ALSA clients and GUI window titles.
If a JACK port cannot be created with that name, the PID is appended.
.TP
.BI -projdir " projdir"
Sets the project directory passed to both plugins and UIs to
.IR projdir .
The default is none.
.TP
.BI -uuid " uuid"
Sets
.I uuid
as the UUID used for JACK session management. There is probably no
reason to use this outside of a managed session.
.TP
.B -noauto
Disables automatic connection of plugin outputs to JACK physical
outputs.
.TP
.BI -f " cfgfile"
Additional configuration will be read from
.IR cfgfile ,
in the same format as command line options.
.P
For specifying plugin instances,
.B ghostess
uses a '[\-\fIrepetition-count\fR] [\fIoptions\fR]
\fIsoname\fR[:\fIlabel\fR]' format, which may be repeated for
multiple instances. The plugin-specific options are:
.TP
.BI \- n
Specifies the repitition count, or number of instances, of the
following plugin to create, where
.I n
is an integer between 1 (the default) and 32.
.TP
.BI -chan " c"
Sets the initial MIDI channel for the following plugin instance to
.IR c .
Channels are numbered 0 to 15. If the repetition count is more than
one, instances are given sequential channels beginning with
.I c
and wrapping from 15 to 0. The default is for all instances'
MIDI channels to be sequentially numbered, starting from 0.
.TP
.BI -conf " k" " " " v"
Sets configure item key
.I k
and value
.I v
for the following instance. May be repeated for multiple keys.
.TP
.BI -prog " b" " " " p"
Sets the program change bank
.I b
and program
.I p
for the following plugin (numbered from 0).
.TP
.BI -port " p" " " " f"
Sets the value of port
.I p
to floating point number
.I f
for the following plugin. May be repeated for different ports.
.TP
.I soname
The name of the DSSI or LADSPA plugin library to load, including the
\'.so\' suffix.
.I soname
may be an absolute path to the library file, or just the filename
itself, in which case the DSSI search path is searched (see
.B ENVIRONMENT
below).
.TP
.I label
The label of the DSSI or LADSPA plugin to load from the library
.IR soname .
If this is omitted, the first plugin in the library is used.
.SH ENVIRONMENT
.B ghostess
will search for plugin shared libraries in the directories specified
by the environment variable
.B DSSI_PATH,
which is a colon-separated list of directories. If
.B DSSI_PATH
is not set, a default search path of
.BR /usr/lib/dssi ,
.BR /usr/local/lib/dssi ,
and (assuming the environment variable
.B HOME
is set,)
.B $HOME/.dssi
is used. Note that while
.B ghostess
may be used to host LADSPA plugins, the environment variable
.B LADSPA_PATH
is not used to search for them.
.SH EXAMPLES
Assuming
.B DSSI_PATH
is correctly set, the command:
.PP
.EX
$ ghostess hexter.so
.EE
.PP
will start a single instance of the plugin hexter, listening on MIDI
channel 0, with its output connected to the first JACK physical
output port.
.PP
The command:
.PP
.EX
$ ghostess \-noauto \-chan 2 xsynth-dssi.so \-chan 2 xsynth-dssi.so
.EE
.PP
will start two instances of Xsynth-DSSI, both listening on MIDI
channel 2, but will not automatically connect the plugin outputs to
JACK output ports.
.PP
The command:
.PP
.EX
$ ghostess \-debug \-1 \-hostname fuzzy \-projdir /tmp/proj \-2 \-conf load
mypatches \-prog 0 4 \-port 7 0.45 effects.so:fuzz
.EE
.PP
will start two instances of the \'fuzz\' plugin within the
.B effects.so
library, using
.B /tmp/proj
as the project directory, pass configure key \'load\' with value
\'mypatches\' to both instances, set bank 0 and program 4, and set
port 7 to 0.45. Assuming it is some sort of effect, the plugins\'
inputs and outputs will be automatically connected to the first JACK
physical inputs and outputs. Full debugging information will be
printed, and
.B fuzzy
will be used as the JACK client name.
.SH AUTHOR
.B ghostess
was written by Sean Bolton, who mercilessly mangled code originally
written by Chris Cannam and Steve Harris. This manual page was
adapted by Sean Bolton from the jack-dssi-host manual page
originally by Mark Hymers.