150 lines
3.2 KiB
HTML
150 lines
3.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of aseqnet</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>aseqnet</H1>
|
|
Section: User Commands (1)<BR>Updated: January 1, 2000<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
aseqnet - ALSA sequencer connectors over network
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>aseqnet</B>
|
|
|
|
[remotehost]
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>aseqnet</B>
|
|
|
|
is an ALSA sequencer client which sends and receives event packets
|
|
over network.
|
|
Suppose two hosts connected by network,
|
|
<I>hostA</I>
|
|
|
|
as a server
|
|
and
|
|
<I>hostB</I>
|
|
|
|
as a client.
|
|
The ALSA sequencer system must be running on both hosts.
|
|
For creating the server port, run the following on hostA:
|
|
<DL COMPACT>
|
|
<DT id="1"><DD>
|
|
hostA% aseqnet
|
|
<BR>
|
|
|
|
sequencer opened: 128:0
|
|
</DL>
|
|
<P>
|
|
|
|
Then a user client 128 with port 0 was opened on hostA.
|
|
(The client number may vary.)
|
|
For creating the (network-)client port, run
|
|
<B>aseqnet</B>
|
|
|
|
with the hostname of the server:
|
|
<DL COMPACT>
|
|
<DT id="2"><DD>
|
|
hostB% aseqnet hostA
|
|
<BR>
|
|
|
|
sequencer opened: 132:0
|
|
</DL>
|
|
<P>
|
|
|
|
Now all events sent to hostA:128:0 are transferred to hostB:132:0, and vice
|
|
versa.
|
|
<P>
|
|
|
|
The ports created by
|
|
<B>aseqnet</B>
|
|
|
|
can be connected arbitrary to other sequencer ports via
|
|
<B><A HREF="/cgi-bin/man/man2html?1+aconnect">aconnect</A>(1).</B>
|
|
|
|
For example, to connect hostB:132:0 to a MIDI output device 65:0:
|
|
<DL COMPACT>
|
|
<DT id="3"><DD>
|
|
hostB% aconnect 132:0 65:0
|
|
</DL>
|
|
<P>
|
|
|
|
Then events to hostA:128:0 will be delivered to hostB:65:0.
|
|
The following command plays MIDI on
|
|
<I>hostB.</I>
|
|
|
|
<DL COMPACT>
|
|
<DT id="4"><DD>
|
|
hostA% pmidi -p 128:0 foo.mid
|
|
</DL>
|
|
<P>
|
|
|
|
The multiple clients may exist simultaneously. If
|
|
<I>hostC</I>
|
|
|
|
is connected as a client to hostA, events from from hostA are sent
|
|
to all connected network clients, i.e. hostB and hostC.
|
|
However, only one connection is allowed from a client to a server.
|
|
<P>
|
|
|
|
To disconnect network, stop all clients before server by ctrl-C or
|
|
sending signal to them. The server will automatically quit.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="5"><B>-p port</B>
|
|
|
|
<DD>
|
|
Specify the TCP port number or TCP service name.
|
|
<DT id="6"><B>-s addr</B>
|
|
|
|
<DD>
|
|
Subscribe to the given address for read automatically.
|
|
<DT id="7"><B>-d addr</B>
|
|
|
|
<DD>
|
|
Subscribe to the given address for write automatically.
|
|
<DT id="8"><B>-v</B>
|
|
|
|
<DD>
|
|
Verbose mode.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+aconnect">aconnect</A>(1), <A HREF="/cgi-bin/man/man2html?1+pmidi">pmidi</A>(1)
|
|
<P>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Takashi Iwai <<A HREF="mailto:tiwai@suse.de">tiwai@suse.de</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="13"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="14"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:07 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|