I test TouchOsc sample layout and it runs alright. Then now I'm trying to do my custom layout, after that I've tried to convert a pd file by using the touchosc2pd software. everything done and ready, I open my Pure Data and setup the Midi In and Out~ after setup the midi setting I press any button on my ipad the Pure Data crash and close the program.

I'm using Window 7 and ipad

Please do help me on this as I really hope can get my custom layout working!

Can somebody see what is wrong with my script ?

Thank you! =)