Re: [linux-audio-user] jack-rack wish-list

From: Lars Luthman <larsl@email-addr-hidden>
Date: Sun Jun 12 2005 - 21:03:36 EEST

On Sun, 2005-06-12 at 12:16 +0200, Christoph Eckert wrote:
> The situation is getting worse if you use more than one app
> and you have to restart JACK itself. Then you have to reload
> a lot of files into all applications and to redo a lot of
> MIDI and JACK connections. If each particular application
> could (maybe optionally) remember
> * the last loaded file
> * the last used MIDI connections
> * the last used JACK connections

This is what LADCCA (LASH) is for. You start your programs, do your
connections, and tell LADCCA to save the project. Later, when you ask
LADCCA to restore the project, it will start the same programs, make the
connections, and tell the programs to load their states from the
project. There haven't been any new LADCCA releases in a while, but
0.4.0 works quite well for things like this.

The problem is that only a handful of programs support LADCCA - which is
strange, because for a typical program that already has functions to
write and restore its state from a file you only need a few dozen lines
of code to make it work. Call the initialisation function and tell
LADCCA your JACK name and ALSA ID when you start the program, and write
a timeout callback that checks for new LADCCA events a few times every
second (Save, Restore, and Quit should be sufficient for most programs)
- and that's it.

Lars Luthman
PGP key:
Fingerprint: FCA7 C790 19B9 322D EB7A  E1B3 4371 4650 04C7 7E2E

Received on Mon Jun 13 00:15:08 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 13 2005 - 00:15:08 EEST