How to Create a File Object from {PROJECT_FOLDER}?
-
How would I create a File object from "{PROJECT_FOLDER}test.midi"? (I'm trying to load a MIDI file embedded in the plugin.)
Thank you.
-
- How would I create a File object from "{PROJECT_FOLDER}test.midi"?
- (I'm trying to load a MIDI file embedded in the plugin.)
Pick one :) if it's embedded in the plugin, then it's not a file on the disk.
-
@Christoph-Hart Thank you - I'm still a little lost, though. I'm doing a panel drag to a DAW MIDI track, and I'm trying to avoid writing a temporary MIDI file and then erasing it. I thought I could use the embedded file? (But the drag signature seems to be hungry for file objects.)