Re: Why is Jack so slow?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx 021-1680650, (03) 4821804 Aotearoa (New Zealand)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux