Midi controler
I use Fruity Loops(sequencing software) Midi controler to handle the starting, stopping and tempo of my hardware and software. This keeps everythings tempo the same and on beat.
You can also assign software midi instruments in programs like cakewalk and pro-tools to midi controlers such as keyboards to play the instruments on your keyboard instead of using the click interface.