Forum
    • Categories
    • Register
    • Login

    Full Instrument Expansions - how, what where....

    Scheduled Pinned Locked Moved General Questions
    75 Posts 2 Posters 362 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.
    • David HealeyD
      David Healey
      last edited by

      So this led me to the answer Console.print(FileSystem.getFolder(FileSystem.Expansions).toString(0));

      It returns the folder inside the project folder instead of the App Data folder.

      So I checked what I was doing in Rhapsody, and in my project folder's Expansions folder, I have a Link file with the path to the Expansions folder in AppData. It basically does the opposite of the "Link Expansions to Project" setting in project preferences.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

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

        @David-Healey said in Full Instrument Expansions - how, what where....:

        So this led me to the answer Console.print(FileSystem.getFolder(FileSystem.Expansions).toString(0));

        It returns the folder inside the project folder instead of the App Data folder.

        So I checked what I was doing in Rhapsody, and in my project folder's Expansions folder, I have a Link file with the path to the Expansions folder in AppData. It basically does the opposite of the "Link Expansions to Project" setting in project preferences.

        oh now Im in a nightmare of managing windows accounts and symlinks...

        HISE Development for hire.
        www.channelrobot.com

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @Lindon
          last edited by

          @Lindon Well I think you could get around this by using the project's expansions folder as if it is the app data folder and enabling the Link Expansions to Project folder when testing the compiled version on your machine - just remember to disable it before sending to other people.

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

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

            @David-Healey looks like Im going to have to as even tho Im the Admin powershell and cmd prompt are saying I dont have privilidges

            HISE Development for hire.
            www.channelrobot.com

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

              @David-Healey

              OK so that worked OK.... it loads and plays something..... so essentially I could (every time I want to test the compiled player or expansion), just copy the expansion form the Player Project to the Player AppData folder and it would work with the compiled Player???

              HISE Development for hire.
              www.channelrobot.com

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Lindon
                last edited by

                @Lindon Yes

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

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

                  @David-Healey except damn it the loaded expansion doesn't know anything about the sample maps!!!!!!!

                  71cfe971-516e-4331-b040-5e1ccf45688c-image.png

                  Where should I [put these in this work around....???

                  HISE Development for hire.
                  www.channelrobot.com

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @Lindon
                    last edited by

                    @Lindon The sample maps are part of the hxi, you don't mess with them from the player project, you do that in the expansion's own project.

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

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

                      @David-Healey yes thanks I know that, however when I put the expansion in the Players Expansion folder as a work around - it allows the Player to load the expansion,(great) and play the sample set it was loaded with (great again).

                      But look above, at the image I just posted, when I load the expansion in HISE there is no sample map set listed in the expansion Sampler.......it says Encrypted Expansion in the drop down, and when I open it it says "No samplemaps found"

                      So Im right back at the place I was in this morning.....

                      HISE Development for hire.
                      www.channelrobot.com

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @Lindon
                        last edited by

                        @Lindon said in Full Instrument Expansions - how, what where....:

                        But look above, at the image I just posted, when I load the expansion in HISE there is no sample map set listed in the expansion Sampler.......

                        Is that the expansion project or the player project > loading the expansion?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

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

                          @David-Healey said in Full Instrument Expansions - how, what where....:

                          @Lindon said in Full Instrument Expansions - how, what where....:

                          But look above, at the image I just posted, when I load the expansion in HISE there is no sample map set listed in the expansion Sampler.......

                          Is that the expansion project or the player project > loading the expansion?

                          its the Player project loading the expansion.....

                          HISE Development for hire.
                          www.channelrobot.com

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @Lindon
                            last edited by

                            @Lindon Then that is the expected result, you can't edit the embedded sample map.

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

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

                              @David-Healey I dont want to edit it, I want to load another one.....are you saying I can only do that programatically in an Expansion?

                              HISE Development for hire.
                              www.channelrobot.com

                              LindonL David HealeyD 2 Replies Last reply Reply Quote 0
                              • LindonL
                                Lindon @Lindon
                                last edited by

                                @Lindon Im going to need to embed possibly up to 100 sample maps....

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @Lindon
                                  last edited by

                                  @Lindon Yes you should treat it just like it would be for the user.

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

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

                                    @David-Healey said in Full Instrument Expansions - how, what where....:

                                    @Lindon Yes you should treat it just like it would be for the user.

                                    Sorry I dont understand what this means....are you saying the HISE sampler "view" isnt available for Expansion stored maps?

                                    HISE Development for hire.
                                    www.channelrobot.com

                                    LindonL David HealeyD 2 Replies Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @Lindon
                                      last edited by

                                      @Lindon said in Full Instrument Expansions - how, what where....:

                                      @David-Healey said in Full Instrument Expansions - how, what where....:

                                      @Lindon Yes you should treat it just like it would be for the user.

                                      Sorry I dont understand what this means....are you saying the HISE sampler "view" isnt available for Expansion stored maps?

                                      time to go walk the dogs. Ive taken enough of your time today....

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      1 Reply Last reply Reply Quote 0
                                      • David HealeyD
                                        David Healey @Lindon
                                        last edited by

                                        @Lindon When the user loads your expansion they won't be able to change sample maps by opening the sampler and neither can you. The expansion is its own HISE project so any editing needs to happen there.

                                        I actually put this in my expansion loading code because (except for testing) I don't ever load the expansions from within HISE

                                        if (Engine.isHISE())
                                            return Console.print(company + " : " + name);
                                        
                                        return eh.setCurrentExpansion(expansion);
                                        

                                        Free HISE Bootcamp Full Course for beginners.
                                        YouTube Channel - Public HISE tutorials
                                        My Patreon - HISE tutorials

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

                                          @David-Healey said in Full Instrument Expansions - how, what where....:

                                          @Lindon When the user loads your expansion they won't be able to change sample maps by opening the sampler and neither can you.

                                          yep got it. I will be able to give them (for example) a drop down from which they can select a sample map to load tho right?

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          David HealeyD 1 Reply Last reply Reply Quote 0
                                          • David HealeyD
                                            David Healey @Lindon
                                            last edited by David Healey

                                            @Lindon Yes. You can do pretty much anything you can do in a regular HISE project.

                                            Free HISE Bootcamp Full Course for beginners.
                                            YouTube Channel - Public HISE tutorials
                                            My Patreon - HISE tutorials

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

                                            32

                                            Online

                                            2.3k

                                            Users

                                            13.6k

                                            Topics

                                            118.4k

                                            Posts