HISE Logo Forum
    • Categories
    • Register
    • Login

    How to Create a File Object from {PROJECT_FOLDER}?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 220 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • clevername27C
      clevername27
      last edited by

      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.

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @clevername27
        last edited by

        • 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.

        clevername27C 1 Reply Last reply Reply Quote 0
        • clevername27C
          clevername27 @Christoph Hart
          last edited by clevername27

          @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.)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          50

          Online

          1.7k

          Users

          11.7k

          Topics

          102.2k

          Posts