Not really a tutorial, more a tip about using [pd~]. You do know that pd is using a single cpu, so what about my X cpu (thinking about the future where we'll have infinite amount of it, but for now 4-8 of them). One way to use multiple core is to do something like this:
You can even pass all your midi using this message: [#ctlin(.
Sadly not good enough to separate gem from the dsp & buged in pd-extended (-fifo) but good at separating patches.