[LAU] Why is Jack so slow?

Paul Davis paul at linuxaudiosystems.com
Wed Aug 4 07:16:51 CEST 2021

THere's nowhere near enough information to comment constructively.

1) which version of JACK
2) what settings is JACK running with?
3) what claims does the JACK "crate" make? there is no "approved" Rust
binding for the JACK API at this point in time....

On Tue, Aug 3, 2021 at 11:14 PM worik <root at worik.org> wrote:

> Friends
> I have a Raspberry PI with a PI Sound board.  Wanting to use modep
> (https://blokas.io/modep/) live I have hacked a pedal together and can
> change settings with it.
> modep is a gnarly ball of python and tomahawk (sp?) that I do not need
> so I have stripped down the actions the pedal needs to do to eight Jack
> operations: disconnect the left and right output  and input, and
> reconnect them in a different way to affect an effect change.
> I have written a small rust programme with the jack crate to interface
> with Jack.  Four disconnects, four connects.
> It takes over 200ms of system time, optimised rust.  Two hundred
> milliseconds is a long time.
> Can anybody tell me why?  Is there a solution?
> I am hoping to get it down to ten milliseconds.
> Worik
> --
>     If not me then who?  If not now then when?  If not here then where?
>               So, here I stand, I can do no other
>     root at worik.org 021-1680650, (03) 4821804 Aotearoa (New Zealand)
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/linux-audio-user/attachments/20210803/abe143b9/attachment.html>

More information about the Linux-audio-user mailing list