Let's Make Some F*&^in' Music is a USB-based live Linux distro based on Slackware with the intent of providing a comprehensive music recording and production studio using only FOSS.
make connections and start JACK server from command-line
CLIJACK is a command-line alternative to such programs as QjackCtl. CLIJACK allows one to launch the JACK audio server and make connections between jack-audio ports, jack-MIDI ports, and ALSA-MIDI ports.
CLIJACK is written in pure Python.