aseqnet(1)

✨ aseqnet β€” ALSA sequencer connectors over network ✨

okay bestie, so like… this is aseqnet(1), a General Commands Manual page, and it's literally the glow-up that lets your ALSA sequencer talk over a network. no cap. πŸ’–

🌸 SYNOPSIS 🌸

aseqnet [remotehost]

πŸ¦‹ DESCRIPTION πŸ¦‹

so aseqnet is an ALSA sequencer client, right? and the whole vibe is that it sends and receives event packets over network. periodt.

picture it: two hosts, connected by network. let's say hostA is the server and hostB is the client. the ALSA sequencer system has to be running on both hosts, no skipping that step bestie. πŸ’…

for creating the server port, you run this on hostA:

hostA% aseqnet
sequencer opened: 128:0

and boom, a user client 128 with port 0 was opened on hostA. (the client number may vary β€” don't come for me, it's just how it is πŸ™ˆ)

for creating the (network-)client port, you run aseqnet with the hostname of the server:

hostB% aseqnet hostA
sequencer opened: 132:0

now here's the iconic part: all events sent to hostA:128:0 are transferred to hostB:132:0, and vice versa. it's giving bidirectional main character energy πŸ”₯


the ports created by aseqnet can be connected arbitrary to other sequencer ports via aconnect(1). for example, to connect hostB:132:0 to a MIDI output device 65:0:

hostB% aconnect 132:0 65:0

then events to hostA:128:0 will be delivered to hostB:65:0. and the following command plays MIDI on hostB:

hostA% pmidi -p 128:0 foo.mid

slay. πŸŽ€


the multiple clients may exist simultaneously β€” yes bestie, the more the merrier. if hostC is connected as a client to hostA, events from from hostA are sent to all connected network clients, i.e. hostB and hostC. however β€” and this is the plot twist 😭 β€” only one connection is allowed from a client to a server.

to disconnect network, stop all clients before server by ctrl-C or sending signal to them. the server will automatically quit. 🫢

πŸ’… OPTIONS πŸ’…

  • -p port β€” specify the TCP port number or TCP service name.
  • -s addr β€” subscribe to the given address for read automatically.
  • -d addr β€” subscribe to the given address for write automatically.
  • -n name β€” specify the midi name of the process.
  • -v β€” verbose mode.

🌈 SEE ALSO 🌈

aconnect(1), pmidi(1)


πŸ‘‘ AUTHOR πŸ‘‘

Takashi Iwai <tiwai@suse.de>.


and that's the whole page bestie, mwah πŸ’‹ this was the aseqnet(1) manual, dated January 1, 2000, and yeah the footer is literally just aseqnet(1) again because the manpage said so. go forth and network your sequencer, iykyk βœ¨πŸ¦‹πŸŽ€