Automatic click track

Here is a simple function to automatically add a MIDI click track to any music expression, without altering the graphical output.