HISE Logo Forum
    • Categories
    • Register
    • Login

    Where does a compiled plugin find the sample maps?

    Scheduled Pinned Locked Moved General Questions
    unsolved
    17 Posts 4 Posters 709 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.
    • d.healeyD
      d.healey
      last edited by

      The sample maps are embedded in the plugin binary. The samples can be placed anywhere, HISE will look in the app data/Samples folder for your plugin and in there you should put a file called LinkLinux, inside that file you should put the path to the folder where the samples are.

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

      C D 2 Replies Last reply Reply Quote 0
      • C
        Consint @d.healey
        last edited by

        @d-healey Thank you very much, with your help I got it to work, at least somehow. The “LinkLinux” file must, if I see correctly, be placed directly in the app data folder.

        However, it is very strange that it creates a new folder named “Samples\n” (i.e. “Samples” with line break) under the specified path. Only when I copy my samples into this folder does the plugin find them. I can't imagine that this should be the case.

        samples_folder.png

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

          @Consint said in Where does a compiled plugin find the sample maps?:

          The “LinkLinux” file must, if I see correctly, be placed directly in the app data folder.

          It should go in the Samples folder

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

          C 1 Reply Last reply Reply Quote 0
          • C
            Consint @d.healey
            last edited by

            @d-healey Ok, that's strange, because then it doesn't work at all.

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

              @Consint Inside the Samples folder within the app data folder?

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

              C 1 Reply Last reply Reply Quote 0
              • C
                Consint @d.healey
                last edited by

                @d-healey Yes: home/username/.config/company/plugin/Samples/LinkLinux

                And if I put it here: home/username/.config/company/plugin/LinkLinux
                then it works with the curiosities described above.

                C 1 Reply Last reply Reply Quote 0
                • C
                  Consint @Consint
                  last edited by

                  I tried the whole thing again in a new project and got the same result. If I put the LinkLinux file directly into the appdata folder (see first screenshot), the plugin creates a new folder at the specified path, whereby the last character of the folder name is a line break. If I then copy the samples into this folder, the plugin finds them and can play them without errors.
                  Appdata_LinkLinux.png

                  However, if I move the LinkLinux file to the appdata/Samples folder (see second screenshot), nothing happens and the plugin does not play any samples.
                  Samples_LinkLinux.png

                  Does anyone have an idea what is going on here or what else I can try?

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Consint
                    last edited by

                    @Consint not really sure what your problem is?

                    HISE requires the path to the sample files it is supposed to use:

                    on windows this is the LinkWindows file and is located in the folder:

                    c:\Users<user name>\AppData\Roaming<companyname><productname>

                    on MacOs the file is LinkOSX and is in:

                    ~/User/username/Library/Application Support/Company name/productname

                    (I think this is right I can never remember unless Im on the Mac)

                    on Linux its LinkLinux and is in the location David outlined above .. is it not there?

                    HISE Development for hire.
                    www.channelrobot.com

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      Consint @Lindon
                      last edited by

                      @Lindon Thank you for your answer. My first irritation is that @d-healey says the LinkLinux file must be in the samples subfolder in the appdata directory. But that doesn't work and doesn't match the paths you gave for Windows and Mac.

                      My second irritation is that if I put the LinkLinux file directly into the appdata directory, my plugin does not search for the samples directly in the path specified there, but creates a new folder with a strange name (line break at the end) and I then have to put the samples into this folder for everything to work.

                      Maybe I have to deal with the fact that Hise creates such a strange folder even if the line break in the folder name will certainly cause problems in the future development...

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

                        Which distro are you using?

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

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Consint @d.healey
                          last edited by

                          @d-healey Ubuntu Budgie 22.04

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

                            @Consint Hmm it could be something related to your OS but I'm not sure.

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

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              Consint @d.healey
                              last edited by

                              @d-healey Yes, maybe. For the final compilation I'll install an older system anyway and then write again if I have the problem there too. Thanks for the support!

                              1 Reply Last reply Reply Quote -1
                              • D
                                djalexx1 @d.healey
                                last edited by

                                @d-healey is the same priciple for for Mac? If so, How I should named for mac?

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

                                  @djalexx1 Yes, LinkOSX.

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

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Consint @Consint
                                    last edited by

                                    @Consint In case others have the same problem: If I set the sample location via FloatingTile - CustomSettings, everything works perfectly.

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

                                    27

                                    Online

                                    1.7k

                                    Users

                                    11.8k

                                    Topics

                                    102.7k

                                    Posts