Below is an overview of my current audio set up in Ubuntu with Jack. I mainly use it to fiddle along with internet radio on my midi keyboard. TimeMachine can record anything interesting from up to 10 seconds ago and onwards. The script in the lower screen does the set up. Mixer slides and qsynth channels with different instruments are controlled from the keyboard.