2000-08-31 13:20:34 +02:00
|
|
|
.TH aconnect 1 "August 31, 2000"
|
2000-01-04 13:39:00 +01:00
|
|
|
.LO 1
|
|
|
|
.SH NAME
|
|
|
|
aconnect \- ALSA sequencer connection manager
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B aconnect
|
|
|
|
[\-d] [-options] sender receiver
|
|
|
|
.br
|
|
|
|
.B aconnect
|
|
|
|
\-i|-o [-options]
|
2000-08-31 13:20:34 +02:00
|
|
|
.br
|
|
|
|
.B aconnect
|
|
|
|
\-x
|
2000-01-04 13:39:00 +01:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B aconnect
|
|
|
|
is a utility to connect and disconnect two existing ports on ALSA sequencer
|
|
|
|
system.
|
|
|
|
The ports with the arbitrary subscription permission, such as created
|
|
|
|
by
|
|
|
|
.B aseqview(1),
|
|
|
|
can be connected to any (MIDI) device ports using
|
|
|
|
.B aconnect.
|
|
|
|
For example, to connect from port 64:0 to 65:0, run as follows:
|
|
|
|
.IP "" 4
|
|
|
|
% aconnect 64:0 65:0
|
|
|
|
.PP
|
|
|
|
The connection is one-way, and the whole data to the sender port (64:0)
|
|
|
|
is redirected to the receiver port (65:0). When another port (e.g. 65:1)
|
|
|
|
is attached to the same sender port, the data is sent to both receiver
|
|
|
|
ports.
|
|
|
|
For disconnection, use
|
|
|
|
.B \-d
|
|
|
|
option.
|
|
|
|
.IP "" 4
|
|
|
|
% aconnect -d 64:0 65:0
|
|
|
|
.PP
|
2000-09-14 12:19:45 +02:00
|
|
|
The address can be given using the client's name.
|
|
|
|
.IP "" 4
|
|
|
|
% aconnect External:0 Emu8000:1
|
|
|
|
.PP
|
|
|
|
Then the port 0 of the client matching with the string "External" is
|
|
|
|
connected to the port 1 of the client matching with the "Emu8000".
|
|
|
|
.PP
|
2000-01-04 13:39:00 +01:00
|
|
|
Another function of
|
|
|
|
.B aconnect
|
|
|
|
is to list the present ports
|
|
|
|
on the given condition.
|
|
|
|
The input ports, which may become
|
|
|
|
.I sender
|
|
|
|
ports, can be listed with
|
|
|
|
.B \-i
|
|
|
|
option.
|
|
|
|
.IP "" 4
|
|
|
|
% aconnect -i
|
|
|
|
.br
|
2002-07-17 14:05:15 +02:00
|
|
|
client 0: 'System' [type=kernel]
|
2000-01-04 13:39:00 +01:00
|
|
|
.in +4
|
2002-07-17 14:05:15 +02:00
|
|
|
0 'Timer '
|
2000-01-04 13:39:00 +01:00
|
|
|
.br
|
2002-07-17 14:05:15 +02:00
|
|
|
1 'Announce '
|
2000-01-04 13:39:00 +01:00
|
|
|
.in -4
|
2002-07-17 14:05:15 +02:00
|
|
|
client 64: 'External MIDI-0' [type=kernel]
|
2000-01-04 13:39:00 +01:00
|
|
|
.in +4
|
2002-07-17 14:05:15 +02:00
|
|
|
0 'MIDI 0-0 '
|
2000-01-04 13:39:00 +01:00
|
|
|
.in -4
|
|
|
|
.PP
|
|
|
|
Similary, to see the output ports, use
|
|
|
|
.B \-o
|
|
|
|
flag.
|
2000-08-31 13:20:34 +02:00
|
|
|
.PP
|
|
|
|
You can remove all existing exported connections using
|
|
|
|
.B \-x
|
|
|
|
option. This function is useful for terminating the ALSA drivers,
|
|
|
|
because the modules with sequencer connections cannot be unloaded
|
|
|
|
unless their connections are removed.
|
2000-01-04 13:39:00 +01:00
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
.SS CONNNECTION MANAGEMENT
|
|
|
|
.TP
|
|
|
|
.B \-d, --disconnect
|
|
|
|
Disconnect the given subscription.
|
|
|
|
.TP
|
|
|
|
.B \-e, --exclusive
|
|
|
|
Connect ports with exclusvie mode.
|
|
|
|
Both sender and receiver ports can be no longer connected by any other ports.
|
|
|
|
.TP
|
|
|
|
.B \-r, --real queue
|
|
|
|
Convert time-stamps of event packets to the current value of the given
|
|
|
|
.I real-time
|
|
|
|
queue.
|
|
|
|
This is option is, however, not so useful, since
|
|
|
|
the receiver port must use (not necessarily own) the specified queue.
|
|
|
|
.TP
|
|
|
|
.B \-t, --tick queue
|
|
|
|
Like
|
|
|
|
.B -r
|
|
|
|
option, but
|
|
|
|
time-stamps are converted to the current value of the given
|
|
|
|
.I tick
|
|
|
|
queue.
|
|
|
|
|
|
|
|
.SS LIST PORTS
|
|
|
|
.TP
|
|
|
|
.B \-i, --input
|
|
|
|
List existing input (readable) ports.
|
|
|
|
This option is exclusive to
|
|
|
|
.B \-o.
|
|
|
|
.TP
|
|
|
|
.B \-o, --output
|
|
|
|
List existing output (writable) ports.
|
|
|
|
This option is exclusive to
|
|
|
|
.B \-i.
|
|
|
|
.TP
|
|
|
|
.B \-l, --list
|
|
|
|
List the current connection status. The connected and connecting ports
|
|
|
|
from/to each port are listed together.
|
|
|
|
The suffix flag
|
|
|
|
.B [ex]
|
|
|
|
means the connection is exclusive.
|
|
|
|
The suffix flag
|
|
|
|
.B [real:#]
|
|
|
|
and
|
|
|
|
.B [tick:#]
|
|
|
|
mean the connection includes real-time and tick conversion on the listed
|
|
|
|
queue, respectively.
|
|
|
|
|
2000-08-31 13:20:34 +02:00
|
|
|
.SS REMOVE ALL CONNECTIONS
|
|
|
|
.TP
|
|
|
|
.B \-x, --removeall
|
|
|
|
Remove all exported connections.
|
|
|
|
|
2000-01-04 13:39:00 +01:00
|
|
|
.SH "SEE ALSO"
|
|
|
|
aseqnet(1), aseqview(1)
|
|
|
|
|
|
|
|
.SH AUTHOR
|
2000-08-31 13:20:34 +02:00
|
|
|
Takashi Iwai <tiwai@suse.de>
|