Forum

    • Register
    • Login
    • Search
    • Categories

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

    General Questions
    4
    7
    88
    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

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        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...

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

        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?

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

              @TNTHM Why would you save filmstrips?

              Tired to press F5 in the forum...
              Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

              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

                  10
                  Online

                  855
                  Users

                  5.7k
                  Topics

                  53.0k
                  Posts