1c72fcc34Sopenharmony_ci================================================================ 2c72fcc34Sopenharmony_ci ALSA sequencer connectors over network 3c72fcc34Sopenharmony_ci ver.0.1 4c72fcc34Sopenharmony_ci Copyright (C) 1999-2000 Takashi Iwai 5c72fcc34Sopenharmony_ci================================================================ 6c72fcc34Sopenharmony_ci 7c72fcc34Sopenharmony_ci* ASEQNET 8c72fcc34Sopenharmony_ci 9c72fcc34Sopenharmony_ciaseqnet is a sequencer client which sends/receives events over 10c72fcc34Sopenharmony_cinetwork. Suppose two hosts (hostA and hostB) connected by network. 11c72fcc34Sopenharmony_ciYou need to run ALSA system on both hosts. Then, start aseqnet as a 12c72fcc34Sopenharmony_ciserver on hostA: 13c72fcc34Sopenharmony_ci 14c72fcc34Sopenharmony_ci hostA% aseqnet 15c72fcc34Sopenharmony_ci sequencer opened: 128:0 16c72fcc34Sopenharmony_ci 17c72fcc34Sopenharmony_ciA user client 128 with port 0 was opened. (The client number may 18c72fcc34Sopenharmony_civary.) At next, start client on hostB. The argument is the hostname 19c72fcc34Sopenharmony_ciwhere server is running. 20c72fcc34Sopenharmony_ci 21c72fcc34Sopenharmony_ci hostB% aseqnet hostA 22c72fcc34Sopenharmony_ci sequencer opened: 132:0 23c72fcc34Sopenharmony_ci 24c72fcc34Sopenharmony_ciNow events sent to hostA:128:0 is transferred to hostB:132:0, and vice 25c72fcc34Sopenharmony_civersa. 26c72fcc34Sopenharmony_ci 27c72fcc34Sopenharmony_ciYou can connect these ports arbitrary to other sequencer ports. 28c72fcc34Sopenharmony_ciFor example, connect hostB:132:0 to a MIDI output device 65:0. The 29c72fcc34Sopenharmony_ciaconnect utility can be used for this: 30c72fcc34Sopenharmony_ci 31c72fcc34Sopenharmony_ci hostB% aconnect 132:0 65:0 32c72fcc34Sopenharmony_ci 33c72fcc34Sopenharmony_ciEvents to hostA:128:0 will be delivered indirectly to hostB:65:0. 34c72fcc34Sopenharmony_ciYou'll hear MIDI sounds as following: 35c72fcc34Sopenharmony_ci 36c72fcc34Sopenharmony_ci hostA% pmidi -p 128:0 foo.mid 37c72fcc34Sopenharmony_ci 38c72fcc34Sopenharmony_ciThe multiple clients may exist simultaneously. If hostC is connected 39c72fcc34Sopenharmony_cias a client to hostA, events from from hostA are sent to all connected 40c72fcc34Sopenharmony_cinetwork clients, hostB and hostC. However, only one connection is 41c72fcc34Sopenharmony_ciallowed from a client to a server. 42c72fcc34Sopenharmony_ci 43c72fcc34Sopenharmony_ciTo disconnect network, stop all clients before server by ctrl-C or 44c72fcc34Sopenharmony_cisending signal to them. The server will automatically quit. 45c72fcc34Sopenharmony_ci 46c72fcc34Sopenharmony_ciThe available options are: 47c72fcc34Sopenharmony_ci 48c72fcc34Sopenharmony_ci -p port : specify the TCP port number or TCP service name. 49c72fcc34Sopenharmony_ci Default value is 40002. 50c72fcc34Sopenharmony_ci -s addr : explicit read-subscription to the given address 51c72fcc34Sopenharmony_ci (client:addr). 52c72fcc34Sopenharmony_ci -d addr : explicit write-subscription to the given address. 53c72fcc34Sopenharmony_ci -n name : specify the midi name of the process. 54c72fcc34Sopenharmony_ci Default value is either 'Net Client' or 'Net Server'. 55c72fcc34Sopenharmony_ci -v : verbose mode. 56