aseqnet.1 (1887B)
1 .TH aseqnet 1 "January 1, 2000" 2 .SH NAME 3 aseqnet \- ALSA sequencer connectors over network 4 5 .SH SYNOPSIS 6 .B aseqnet 7 [remotehost] 8 9 .SH DESCRIPTION 10 .B aseqnet 11 is an ALSA sequencer client which sends and receives event packets 12 over network. 13 Suppose two hosts connected by network, 14 .I hostA 15 as a server 16 and 17 .I hostB 18 as a client. 19 The ALSA sequencer system must be running on both hosts. 20 For creating the server port, run the following on hostA: 21 .IP "" 4 22 hostA% aseqnet 23 .br 24 sequencer opened: 128:0 25 .PP 26 Then a user client 128 with port 0 was opened on hostA. 27 (The client number may vary.) 28 For creating the (network-)client port, run 29 .B aseqnet 30 with the hostname of the server: 31 .IP "" 4 32 hostB% aseqnet hostA 33 .br 34 sequencer opened: 132:0 35 .PP 36 Now all events sent to hostA:128:0 are transferred to hostB:132:0, and vice 37 versa. 38 .PP 39 The ports created by 40 .B aseqnet 41 can be connected arbitrary to other sequencer ports via 42 .B aconnect(1). 43 For example, to connect hostB:132:0 to a MIDI output device 65:0: 44 .IP "" 4 45 hostB% aconnect 132:0 65:0 46 .PP 47 Then events to hostA:128:0 will be delivered to hostB:65:0. 48 The following command plays MIDI on 49 .I hostB. 50 .IP "" 4 51 hostA% pmidi \-p 128:0 foo.mid 52 .PP 53 The multiple clients may exist simultaneously. If 54 .I hostC 55 is connected as a client to hostA, events from from hostA are sent 56 to all connected network clients, i.e. hostB and hostC. 57 However, only one connection is allowed from a client to a server. 58 .PP 59 To disconnect network, stop all clients before server by ctrl-C or 60 sending signal to them. The server will automatically quit. 61 62 .SH OPTIONS 63 .TP 64 .B \-p port 65 Specify the TCP port number or TCP service name. 66 .TP 67 .B \-s addr 68 Subscribe to the given address for read automatically. 69 .TP 70 .B \-d addr 71 Subscribe to the given address for write automatically. 72 .TP 73 .B \-v 74 Verbose mode. 75 76 .SH "SEE ALSO" 77 aconnect(1), pmidi(1) 78 79 .SH AUTHOR 80 Takashi Iwai <tiwai@suse.de>.