HISE Logo Forum
    • Categories
    • Register
    • Login

    Locate samples UX

    Scheduled Pinned Locked Moved General Questions
    27 Posts 6 Posters 1.3k 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.
    • 0
      0x7887 @DanH
      last edited by

      @DanH said in Locate samples UX:

      preprocessors

      Hi, Where to put this code? Thanks!

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

        @0x7887 Project preferences

        88360db6-6198-408b-83fb-6e9b4e60b9e8-image.png

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

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

          @d-healey Thanks!

          1 Reply Last reply Reply Quote 0
          • L
            Lumi283 @DanH
            last edited by

            @DanH @d-healey I understand the process, but how does it work in practice? I need to create an installer on windows, which installs the CH files in which folder? App data? How will the plug-in know that the samples are extract in this location? And what's the difference between hr and ch files? Thanks

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

              @Lumi283 hr is an archive, like a zip file. The samples need to be installed in a location selected by the user. A link file needs to be added in the appdata folder to tell the plugin where the samples are.

              This can all be done with the file and file system APIs.

              I believe Dan's method is different.

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

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @d.healey
                last edited by DanH

                @d-healey @Lumi283 Yes it's a different method which uses InnoSetup rather than HISE to achieve this. Either method is good but I imagine the HISE way will be much more time consuming for you (I actually use both methods).

                With InnoSetup you can use a script to deal with everything you need. There are examples on the forum or I can share one tomorrow.

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                L 2 Replies Last reply Reply Quote 0
                • L
                  Lumi283 @DanH
                  last edited by

                  @DanH @d-healey Thanks for your help, if specify sample path with Linkwindows in Appdata now, but how to specify expansion sample path ?

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

                    @Lumi283 In AppData/Expansions/Expansion Name/Samples

                    If you're using expansions you can always use this - https://docs.hise.audio/scripting/scripting-api/expansionhandler/index.html#installexpansionfrompackage

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

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Lumi283 @d.healey
                      last edited by

                      @d-healey No way to only use a text file ?

                      DanHD d.healeyD 2 Replies Last reply Reply Quote 0
                      • DanHD
                        DanH @Lumi283
                        last edited by

                        @Lumi283 I think the first thing you need to do is decide which method you are going to use:

                        a) HISE

                        b) InnoSetup

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

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

                          @Lumi283 said in Locate samples UX:

                          No way to only use a text file ?

                          What do you mean?

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

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Lumi283 @DanH
                            last edited by

                            @DanH Inno Setup for the default plugin, but I don't know about expansion how to do (the expansions are downloaded and installed automatically)

                            DanHD 1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @Lumi283
                              last edited by

                              @Lumi283 said in Locate samples UX:

                              (the expansions are downloaded and installed automatically)

                              How?

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Lumi283 @DanH
                                last edited by

                                @DanH I check if there is a new version with the API, after i download the expansion and unzip it in appadata>vst>Expansions. I juste need now to locate new samples

                                1 Reply Last reply Reply Quote 0
                                • L
                                  Lumi283 @d.healey
                                  last edited by

                                  @d-healey
                                  I wanted to ask if there is an equivalent of LinkWindows for expansions?

                                  DanHD 1 Reply Last reply Reply Quote 0
                                  • DanHD
                                    DanH @Lumi283
                                    last edited by

                                    @Lumi283 yes. In appData/Expansions/YourExpansion/Samples

                                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                    https://dhplugins.com/ | https://dcbreaks.com/
                                    London, UK

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      Lumi283 @DanH
                                      last edited by

                                      @DanH Hi, what did you write in LinkOSX for macOS using Hise scripting?
                                      I tried, but it doesn't work...
                                      7fb29239-5839-4603-9a1e-9c72cc167d9c-image.png
                                      And this path returns: objectXXX
                                      f3a6b95a-2312-41d1-9d2a-2f61c6f36fb7-image.png

                                      How to specify correctly the ~/Library/ folder?
                                      Thank you

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

                                        @Lumi283 said in Locate samples UX:

                                        @DanH Hi, what did you write in LinkOSX for macOS using Hise scripting?
                                        I tried, but it doesn't work...
                                        7fb29239-5839-4603-9a1e-9c72cc167d9c-image.png
                                        And this path returns: objectXXX
                                        f3a6b95a-2312-41d1-9d2a-2f61c6f36fb7-image.png

                                        How to specify correctly the ~/Library/ folder?
                                        Thank you

                                        take the objectXXX as you call it and:

                                        Console.print(objectXXX.toString(objectXXX.FullPath));
                                        

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                          @DanH What does this so, exactly?

                                          HISE_DEACTIVATE_OVERLAY=0

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • clevername27C
                                            clevername27 @d.healey
                                            last edited by clevername27

                                            @d-healey said in Locate samples UX:

                                            @Lumi283 I don't think so. You'd need to create your own installer system that doesn't use hr files.

                                            Why do hr files need to be used?

                                            I'm simply distributing the .cr1 files, and the user just needs to point HISE to the folder that they're in.

                                            Thank you.

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

                                            37

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.2k

                                            Posts