HISE Logo Forum
    • Categories
    • Register
    • Login

    Vst Instrument without having to install the samples

    Scheduled Pinned Locked Moved General Questions
    53 Posts 10 Posters 4.9k 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

      Is the path correct in your sample map?

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

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

        @d-healey yes, they are there.. well IT is there, since I am holding off on building a more complex sample map until I verify it works with one sample.

        it is an aiff file, but it works in HISE so I figured it would work, but I could try with a .wav file and see if there might be some weird format issue.

        I am now going through the tutorial projects on the documentation, the phase wizard synth one (doesn't use samples) works as a vst and stand alone, and I am about to do the next one which uses samples, and if that works I can assume theres some issue with my sample somehow.

        http://www.axiom-crux.net

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

          @MacroMachines
          What is the path?

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

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

            @d-healey /Users/nicholascraftisiii/Dropbox/Vibrator Synths/HISE/TEST/Samples
            thats where my HISE project was developed, so I tried the option to select the sample folder upon launching the plugin, and used the samples folder that I used to build the sample map.

            Currently finishing the tutorial projects to see if I can get those working, and then will resume troubleshooting this.

            http://www.axiom-crux.net

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

              That's the problem. It shouldn't use an absolute path, it should be a relative path from the project folder. https://docs.hise.audio/working-with-hise/project-management/index.html#project-folder-wildcard

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

              AxiomCruxA 2 Replies Last reply Reply Quote 0
              • AxiomCruxA
                AxiomCrux @d.healey
                last edited by

                @d-healey I do notice in the tutorial I loaded all of the samples from the Samples folder and in the table they show up as {PROJECT_FOLDER} before the name, I had thought I did this in my project but its possible I did something wrong somehow. I wonder what it was.. I will make sure my files show up that way though for the future. about to finish the tutorial and compile and we will see if I can get that working.

                http://www.axiom-crux.net

                1 Reply Last reply Reply Quote 1
                • AxiomCruxA
                  AxiomCrux @d.healey
                  last edited by AxiomCrux

                  @d-healey Ok, I just finished the tutorial for Music Box, and the SAMPLES DONT WORK. I created the samples for installer, everything said it succeded, and then I launched logic and the AU works, and asked me for the sample resource file, and when I select it and select the destination folder, it says everything worked, and everything else in the instrument other than the samples

                  EDIT, I then reloaded the instrument and it works... I think this needs to be a message that pops up telling the user they need to reload the plugin or HISE needs to make it so they work the first time this is loaded, cause that makes it feel immediately like its broken on first launch.

                  Also the screen popup. where you supply the samples doesn't really fit in this tutorial instrument.. there must be some kind of solution to make it feel like its not cropped in the window.

                  http://www.axiom-crux.net

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

                    @MacroMachines said in Vst Instrument without having to install the samples:

                    EDIT, I then reloaded the instrument and it works... I think this needs to be a message that pops up telling the user they need to reload the plugin or HISE needs to make it so they work the first time this is loaded, cause that makes it feel immediately like its broken on first launch.

                    This a well known pre-condition that isnt going to go away any time soon - what we all do is put a big red comment in the user manual that explains you have to restart the plug-in to get any sound.

                    Also the screen popup. where you supply the samples doesn't really fit in this tutorial instrument.. there must be some kind of solution to make it feel like its not cropped in the window.

                    You have to make your instrument big enough to hold these dialogs...

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon said in Vst Instrument without having to install the samples:

                      This a well known pre-condition that isnt going to go away any time soon - what we all do is put a big red comment in the user manual that explains you have to restart the plug-in to get any sound.

                      that presumes users would read the manual before using or during setup, nobody I know does that, they assume the plugin they just installed will work immediately.

                      Ideally, this would be fixed or set up so that there is a dialogue that comes up after the sample installation that simply says "samples installed successfully reload the plugin to continue". there already is one that tells you the samples were installed, the text just needs to be amended.

                      Even more ideally, the package installer would do this before the plugin is even run, the samples would be installed and the plugin would know where they were installed so they don't have to do anything but run the plugin and it works.

                      I would love to learn enough JUCE to help in implementing these types of things if they are not priorities for the developer. I think of these things as very important, maybe others are ok with this. HISE is so close to being an ideal tool for plugin development, I just think with a few tweaks it would be so much better.

                      http://www.axiom-crux.net

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

                        @MacroMachines said in Vst Instrument without having to install the samples:

                        Ideally, this would be fixed or set up so that there is a dialogue that comes up after the sample installation that simply says "samples installed successfully reload the plugin to continue". there already is one that tells you the samples were installed, the text just needs to be amended.

                        So thats a simple fix in the C++ -- go for it.

                        I think it might be line 982 in BackgroundThreads.cpp

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon I think it's worth to add permanently so I'll push a request to @d-healey's fork with the "fix" ;)

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

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

                            @ustk said in Vst Instrument without having to install the samples:

                            @Lindon I think it's worth to add permanently so I'll push a request to @d-healey's fork with the "fix" ;)

                            er... its not even tested as the right spot....so David will need to do some work...I would do it if I wasn't in the middle of a big development build...

                            HISE Development for hire.
                            www.channelrobot.com

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

                              I think it's a good idea. I'll take a look when I have a bit of spare time.

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

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

                                @Lindon Was nothing more than changing the line you kindly spotted :)
                                @d-healey pull request ;)

                                Untitled.png

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

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

                                  @ustk cool well done.

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon I tried to add \nbut it doesn't work. Although I've seen it in some other .cpp using the same message window...
                                    So I let it on one line... any idea?

                                    PresetHandler::showMessageWindow("Samples imported", "All samples were imported successfully.\nPlease relaunch the instrument.");
                                    

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

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

                                      Try \r\n

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

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

                                        @d-healey It doesn't work, it's taken as a literal... Not a big deal though!

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

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

                                          @ustk Do you maybe have to do it with another quote as in :

                                          PresetHandler::showMessageWindow("Samples imported", "All samples were imported successfully."\n"Please relaunch the instrument.");
                                          

                                          or maybe it just requires a space between the /n? as in :

                                          PresetHandler::showMessageWindow("Samples imported", "All samples were imported successfully. \n Please relaunch the instrument.");
                                          

                                          http://www.axiom-crux.net

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

                                            @ustk Also, as far as my other mentioned slightly more ideal option, do you know what it is that happens upon plugin load that makes it so it works when you reload it? Is there any possible way to trigger the sample references or whatever is happening to be re-initialized automatically upon hitting OK on the popup? I realize that might be slightly more complex than the text solution, just figured it might be worth asking, as then it would simply work without needing to reload at all.

                                            Either way good work :D. thanks for doing this :)

                                            http://www.axiom-crux.net

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

                                            23

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.6k

                                            Posts