tatch wrote:this sounds like an interesting solution. Could you perhaps share the scripts that you wrote? I'm pretty comfortable with bash scripting but I haven't done much linux audio scripting.
In the meantime, I checked out aj-snapshot. It is AMAZING. I use my bash scripts very rarely now that I use aj-snapshot (only when setting up the connections for the latter, and even then very rarely; I mainly use scripts to launch programs where I need long CLI arguments and/or specific files to load by default on a daily basis, like xjadeo.). It's a CLI app, but using it is simplicity itself. Apart from the commands varpa mentioned -
aj-snapshot -x will remove all connections,
aj-snapshot -r <filename> -x will remove all connections and load the specified connection snapshot (usual snapshot load appends connections)
There are other options too, but I haven't looked into them so far (use the evergreen --help).
aj-snapshot daemon mode ( -r -d <filename> ) deserves special mention - you set it to load a snapshot in daemon mode and you will never need to touch connections until you need to switch workflows. Very handy. Although keep in mind that daemon mode causes massive skips in Ardour - Paul told me to contact the aj-snapshot author ( lievenmoors, and he doesn't come on IRC very often :| Perhaps I should file a bug report on the SF page.)
Caveat - the issue is that aj-snapshot works best when you have any amount of specific workflows - i.e. you like to establish workflows and not change them, say, every two minutes. Use-cases where lots of setup changes are anticipated can ameliorate their situation by opening all application that can possibly be required, have as many instances as one may anticipate, and use multiple connection-snapshots - but this is a hack, and a limited and resource-wasting one at that. The real solution would be some kind of a patchbay designed for very fast patching, perhaps in conjunction with some kind of a smart, user-configurable auto-patching daemon.
aj-snapshot, is, however, central to my work. My notebook's RAM is on the low side (3 gigs), so I can only load one section of the orchestra (strings/woodwinds/brass/percussion/keyboard instruments) at a time. My set of snapshots are made to deal with one section at a time. Loading the 'strings' snapshot, for instance, will connect Laborejo's violin, viola, cello and contrabass MIDI tracks to the respective Linuxsampler channels, connect Linuxsampler to the Calf reverb in Carla (going to system playback) and to the respective instrument audio tracks in Ardour. Sequencing, bouncing to Ardour, reverb for me to hear, everything covered. If I don't need to be using Ardour, I can choose not to launch it, start the other apps and use the same snapshot file - it will say 'all alsa and jack connections could not be restored!', but the rest will work. Hey presto, many scenarios solved with just one snapshot file - my entire setup covered with about seven. Needless to say, my sincere thanks to varpa for the info.
Speaking of CLI things, people who shy away from CLI (not pointing fingers at anyone, generally speaking), and session management - I don't know how many people use the CLI, but for those who don't - I'd say there's much benefit of using it, even for GUI apps. It forms a sort of session management -
you can start things quickly (keyboard, with a little experience and practice, is faster than the mouse; although for really big modular setups perhaps a real SM is faster),
you can check the status of running programs (duh),
you can kill programs quickly,
you can restart them quickly (again, faster to press Up and Enter than to reach for a mouse),
(setting the terminal to a shortcut (mine is Alt+`) quickens the process even more,)
you can group things and create order by using tabbed terminals. (I will always have two terminals, one for non-music and the other for music - and the order of tabs in the music one is always Laborejo, Carla, qsampler, Ardour3, xjadeo, and aj-snapshot.)
Looking for the ideal distro. NixOS?
Newbie composer, somewhat-experienced classical guitarist.
Largely known as HisaoNakai/contrapunctus on IRC and other places.