Hello, this is a bit of a duplicate post (as I posted in SirSickSik too).
But here is my basic midi looping patch, in case it helps other beginners out there.
It uses SirSickSik's polymidiXL to loop any incoming midi on the DIN input (midi cable), and then it outputs this to the midi DIN output.
Separately, you can control the recording and playback of the midi looper using midi note 1 of a connected USB controller, and also delete all notes using midi note 7 on the same USB controller.
There is a metronome, so you can play along (this looper is for syncronised quantised playback with other devices).
It's not really perforamnce ready, lots of glitches, but hopefully it helps another beginner.
images and axo file attached to this post. I've tried to comment things, but having spent so long already on this, it's not so thorough. Feel free to ask any questions.
sharp midi looper_v10_working.axp (23.4 KB)
Main patch
Sub patch A - USB controls for start and stop
Sub patch B - main midi looping and metronome (built on the excellent sss polymidiXL)