One of my favorite apps is Qtractor
Config stuff:
Audio/MIDI drift optimalisation
Set MIDI hardware to required mode
Compiling from svn