HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom "Samples Not Found" Message

    Scheduled Pinned Locked Moved Unsolved General Questions
    samplesmessagecustomfolder
    6 Posts 3 Posters 351 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.
    • VorosMusicV
      VorosMusic
      last edited by VorosMusic

      Good Day everyone!
      If it's not too difficult, I'd like to add a message to my instrument to warn the user if the sample folder could not be found (user forgot to connect his drive...)
      I know how to prompt the user with the message, the question is, how do I define, if the sample folder was found on init?

      d.healeyD ustkU 2 Replies Last reply Reply Quote 0
      • VorosMusicV VorosMusic marked this topic as a question on
      • d.healeyD
        d.healey @VorosMusic
        last edited by

        @VorosMusic You could use the File and FileSystem apis to see if the samples are in the designated samples folder.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        VorosMusicV 1 Reply Last reply Reply Quote 1
        • VorosMusicV
          VorosMusic @d.healey
          last edited by

          @d-healey
          I'll give it a try!

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

            +1 to @d-healey, I would add that if the drive is removable it means you have to store its path in some kind of pref file of your own for later recall

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

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @ustk
              last edited by d.healey

              @ustk said in Custom "Samples Not Found" Message:

              +1 to @d-healey, I would add that if the drive is removable it means you have to store its path in some kind of pref file of your own for later recall

              It's stored in app data, in the LinkOS file.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @d.healey
                last edited by

                @d-healey Oh I see! I thought this was for an additional custom location that has nothing to do with the main sample location, I lost myself overthinking...

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

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

                49

                Online

                1.7k

                Users

                11.7k

                Topics

                101.8k

                Posts