<html><head></head><body><div>Many thanks, Paul, for this and much more.  My lame excuse is I have had a chunk of my head buried in a singular problem for a long time and those librarians are very tired :-)</div><div><br></div><div>Given reality-check, then, maybe the institution of multiple JACK subgraphs, with time-decoupling by Pulse-style transport, is a way to get everything done!</div><div><br></div><div>J.E.B.</div><div><br></div><div>On Mon, 2018-02-19 at 18:04 -0500, Paul Davis wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">JACK is already much closer to the hardware than the networking stack.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At the conclusion of the jack process callback, it writes samples *directly into the memory mapped buffer being used by the audio hardware*. The process callback is  preemptively (and with realtime scheduling) triggered directly from the interrupt handler of the audio interface.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">JACK does not use a round-robin approach to its clients. It creates a data (flow) graph based on their interconnections and executes them (serially or in parallel) in the order dictated by the graph. <br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 19, 2018 at 5:57 PM, Jonathan Brickman <span dir="ltr"><<a href="mailto:jeb@ponderworthy.com" target="_blank">jeb@ponderworthy.com</a>></span> wrote:<br><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Not really sure the subgraph is so good -- one of the things JACK gives us is the extremely solid knowledge of what it just did, is doing now, and will do next period.  If I run Pulse with JACK, it's JACK controlling the hardware and Pulse feeding into it, not the other way around, because Pulse is not tightly synchronized, whereas JACK is.  But if you can make it work as well, more power to you.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Concerning seeking and timing, though, I have had to wonder.  My impression of JACK for a long time (and more learned ladies and gentlemen, please correct) is that it uses a basically round-robin approach to its clients, with variation.  I have had to wonder, especially given my need for <a href="https://github.com/ponderworthy/MultiJACK" target="_blank">this</a>, how practical a model might be possible, using preemptive multitasking or even Ethernet-style collision avoidance through entropic data, at current CPU speeds.  It's chopped into frames, right?  Couldn't audio and MIDI data be mapped into networking frames and then thrown around using the kernel networking stack?  The timestamps are there...the connectivity is there...have to do interesting translations... :-)  Could be done at the IP level or even lower I would think.  The lower you go, the more power you get, because you're closer to the kernel at every step.<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div><span class="HOEnZb"><font color="#888888"><br></font></span></div></blockquote></div></div></blockquote><div><span><pre>-- <br></pre><span style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic; background-color: rgb(255, 255, 255);">Jonathan E. Brickman   </span><a class="moz-txt-link-abbreviated" href="mailto:jeb@ponderworthy.com" style="font-size: 14px; font-style: italic;">jeb@ponderworthy.com</a><span style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic; background-color: rgb(255, 255, 255);">   (785)233-9977</span><br style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic;"><span style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic; background-color: rgb(255, 255, 255);">Hear us at </span><a href="http://ponderworthy.com/" style="font-size: 14px; font-style: italic;">http://ponderworthy.com</a><span style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic; background-color: rgb(255, 255, 255);"> -- CDs and MP3 </span><a href="http://ponderworthy.com/ad-astra/ad-astra.html" style="font-size: 14px; font-style: italic;">now available!</a><br style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic;"><span style="color: rgb(153, 51, 0); font-size: 14px; font-style: italic; background-color: rgb(255, 255, 255);">Music of compassion; fire, and life!!!</span></span></div></body></html>