<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">THere's nowhere near enough information to comment constructively.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">1) which version of JACK</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">2) what settings is JACK running with?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">3) what claims does the JACK "crate" make? there is no "approved" Rust binding for the JACK API at this point in time....</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 3, 2021 at 11:14 PM worik <<a href="mailto:root@worik.org">root@worik.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Friends<br>
<br>
I have a Raspberry PI with a PI Sound board.  Wanting to use modep<br>
(<a href="https://blokas.io/modep/" rel="noreferrer" target="_blank">https://blokas.io/modep/</a>) live I have hacked a pedal together and can<br>
change settings with it.<br>
<br>
modep is a gnarly ball of python and tomahawk (sp?) that I do not need<br>
so I have stripped down the actions the pedal needs to do to eight Jack<br>
operations: disconnect the left and right output  and input, and<br>
reconnect them in a different way to affect an effect change.<br>
<br>
I have written a small rust programme with the jack crate to interface<br>
with Jack.  Four disconnects, four connects.<br>
<br>
It takes over 200ms of system time, optimised rust.  Two hundred<br>
milliseconds is a long time.<br>
<br>
Can anybody tell me why?  Is there a solution?<br>
<br>
I am hoping to get it down to ten milliseconds.<br>
<br>
Worik<br>
<br>
-- <br>
    If not me then who?  If not now then when?  If not here then where?<br>
              So, here I stand, I can do no other<br>
    <a href="mailto:root@worik.org" target="_blank">root@worik.org</a> 021-1680650, (03) 4821804 Aotearoa (New Zealand)<br>
_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="https://lists.linuxaudio.org/listinfo/linux-audio-user" rel="noreferrer" target="_blank">https://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
</blockquote></div>