HISE Logo Forum
    • Categories
    • Register
    • Login

    Saving files to destinations outside of the {PROJECT_FOLDER} - String fileName

    Scheduled Pinned Locked Moved General Questions
    7 Posts 4 Posters 333 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.
    • L
      LeeC
      last edited by LeeC

      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 this ☺

      saveAsMidiFile(String fileName, int trackIndex)
      

      Any thoughts?

      Cheers

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @LeeC
        last edited by ustk

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

        Can't help pressing F5 in the forum...

        L T 2 Replies Last reply Reply Quote 1
        • L
          LeeC @ustk
          last edited by

          @ustk yeah I'm on a mac also.

          Cool, I'll give that a try now.... Thanks for feeding back ☺

          1 Reply Last reply Reply Quote 0
          • T
            TNTHM @ustk
            last edited by

            @ustk does this work for filmstrip images?

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @TNTHM
              last edited by

              @TNTHM Why would you save filmstrips?

              Can't help pressing F5 in the forum...

              T 1 Reply Last reply Reply Quote 0
              • T
                TNTHM @ustk
                last edited by TNTHM

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

                1 Reply Last reply Reply Quote 0
                • B
                  BWSounds
                  last edited by

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

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

                  29

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  102.0k

                  Posts