[linux-audio-dev] simple jack-client [jack-net-cat]

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] simple jack-client [jack-net-cat]
From: Florian Schmidt (mista.tapas_AT_gmx.net)
Date: Thu Nov 27 2003 - 04:35:05 EET


Hi,

i have this silly idea of implementing a very simple jack client.

It would do nothing else, but offer a number of writable and readable
ports [lets assume 2 of each for now]. Now, in the background, this
jack-client opens a number of UDP sockets [me is not a network expert,
so bear with me here :)]. 2 UDP ports on which it listens to incoming
data, which it then feeds into the readable ports.

Any data that comes in on its writable ports will be made available as
simple. It opens 2 UDP sockets, specifies a target adress and sends out
the audio data.

The mechanism is basically completely connection-less. packets that
belong to the same stream just come from the same ip-adress, maybe
carrying an index number to denote the port number.

This way it would be vey easy to stream data from one jack graph to
another on a different computer. Latencies will not be considered at
all. These connections must be considered to be async. So a send to
another computer, there feeding into an effect and then sending back
will not be really a "realtime" thing [hmm, well, depends on the network
speed and how big then network buffers are, etc.. i assume both on a
private local lan here]

Also, there probably must be some basic/minimal network protocol be
implemented. At least a sequential numbering or timestamp, so the
receiver can maintain a buffer and sort packets that come in out of
order..

Again i'm no expert on this. But it sounds failry simple.

What do you think? This could of course be done arbitrarily complex
[with timing stuff, connection handling, authentification, etc], but i
look for something dead simple.

Flo

-- 
music: http://www.soundclick.com/bands/9/florianschmidt.htm


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Nov 27 2003 - 10:20:27 EET