tkay ow exactly do I add this? is it in the IDE or the actual patch?
in the actual patch. If you browse to the pd-externals project via the IDE, you should see a folder mrpeach
containing - among others - midifile.pd_linux
. Now go back to your project. Using Pd, add the following object to your patch:
[declare -path mrpeach]
then copy this patch over to the IDE again and run it, hopefully this time you will not get a couldn't create
error.