Saving files to destinations outside of the {PROJECT_FOLDER} - String fileName
-
Hi guys,
How do we save files or set locations outside of the HISE {PROJECT_FOLDER}?
Is there a certain 'filepath' structure that we need to use to point to external locations?I'm hoping to find a way to save a midi file to a users desktop (or any other folder) as a workaround to the bug raised here.
I just need to know the correct filepath structure to populate the 'String fileName' with to achieve thissaveAsMidiFile(String fileName, int trackIndex)
Any thoughts?
Cheers
-
@LeeC I just tried with
dumpAsJSON
and "~/Desktop/MyFile.js" seems to work. So it might work for MIDI files too...EDIT: that's for mac obviously, I don't know for win though...
-
@ustk yeah I'm on a mac also.
Cool, I'll give that a try now.... Thanks for feeding back
-
@ustk does this work for filmstrip images?
-
@TNTHM Why would you save filmstrips?
-
@ustk it goes back to trying to save filmstrip images in an external folder so you can reskin knobs on a compiled plugin. I saw this and thought it was worth the ask.
-
Did anyone ever find a way to do this? Finishing a huge plugin and while testing it out and realized I didn't know how to export the midi file from the vst, or where it goes..