Here is a handy patch if you need a DIY MIDI clock source. This works both as a traditional metronome as well as a MIDI clock source. I created this to use with apps like Sooper Looper which syncs to MIDI clock information, but doesn't have an internal sound generator to keep me in time. Let me know if you need me to explain something because it gets a little confusing at parts.
To use this just unzip the files to wherever you keep your patches and open [metromidi~]
Platforms & version
Windows Mac Linux
Pure Data 0.43-extended