HISE Logo Forum
    • Categories
    • Register
    • Login

    Installing Samples Dialog....

    Scheduled Pinned Locked Moved Feature Requests
    130 Posts 13 Posters 11.8k 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.
    • Dan KorneffD
      Dan Korneff @Christoph Hart
      last edited by

      @Christoph-Hart said in Installing Samples Dialog....:

      what do you want to prettify exactly?

      I don't plan on using the HRx format for distribution, so I don't want to confuse the end user with access to a button to install them. All I need is 1 button to locate the sample folder on first launch.

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 2
      • T
        tomekslesicki
        last edited by

        Do I have to build Hise from source in order to remove the "Install Samples" button or can it be set before the VST export? And if it can be set before the export - how? I've added the line of code as @Christoph-Hart mentioned but it doesn't seem to do anything...

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

          @tomekslesicki Yes you'll need to rebuild from source

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

          T 1 Reply Last reply Reply Quote 1
          • T
            tomekslesicki @d.healey
            last edited by

            @d-healey Great, thanks!

            1 Reply Last reply Reply Quote 0
            • T
              tomekslesicki
              last edited by tomekslesicki

              Ok, I've added the "installSampleButton->setVisible(false);" under line 50 in the hi_components > plugin_components > FrontendBar.cpp and built Hise from source again, but the button is still there. What am I not getting?

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

                @tomekslesicki Is your project pointing to the correct HISE source code?

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

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

                  @d-healey Yeah, it is. I've just double checked, built Hise again, checked then, tried to export and the button is still there :-(

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:

                    // If you want to hide the install button
                    HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
                    
                    // If you want to bypass the entire thing and use a default location for the samples
                    HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
                    
                    T 1 Reply Last reply Reply Quote 3
                    • T
                      tomekslesicki @Christoph Hart
                      last edited by

                      @Christoph-Hart said in Installing Samples Dialog....:

                      I've added a few compiler flags that decide what dialog to show. Just put these two in the Extra Definitions Windows / OSX properties of your project before compiling:

                      // If you want to hide the install button
                      HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
                      
                      // If you want to bypass the entire thing and use a default location for the samples
                      HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=0
                      

                      Tried that and still doesn't work :-(

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

                        @tomekslesicki Did you rebuild HISE using the latest version from GitHub today?

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

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart
                          last edited by

                          And you need to make sure that HISE uses this source code for compilation (in this case rebuilding HISE doesn‘t make a difference)

                          1 Reply Last reply Reply Quote 1
                          • T
                            tomekslesicki
                            last edited by

                            I've re-downloaded the Hise source code, re-compiled, added the code to the project, exported again and the button is still there. He's a tough one, that's for sure!

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

                              @tomekslesicki said in Installing Samples Dialog....:

                              added the code to the project

                              Could you clarify what you mean? Just so I understand the situation better.

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

                              1 Reply Last reply Reply Quote 0
                              • T
                                tomekslesicki
                                last edited by

                                @tomekslesicki said in Installing Samples Dialog....:

                                HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0

                                Sure! I meant I've added the "HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0" line to Extra Definitions:

                                2019-10-06 18_48_04-HISE Backend Standalone.jpg

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

                                  @tomekslesicki Have you pointed the project to the correct version of the HISE source code?

                                  030fc761-a271-4f30-adb8-616c8d97bad1-image.png

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

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

                                    @d-healey Yup, the one I've built from - downloaded from github, as you've suggested.

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

                                      Well I'm out of ideas... I haven't tested it myself yet.

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

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

                                        @d-healey Did you get the "installSampleButton->setVisible(false);" thing to work, though? It doesn't work here either, unfortunately, but maybe you've succeeded with that?

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

                                          @tomekslesicki I haven't tried it yet. Next time I compile a plugin I'll test it.

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

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tomekslesicki
                                            last edited by

                                            Ok, thanks! @dustbro , could you please share how you did it?

                                            orangeO Dan KorneffD 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            18

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.5k

                                            Posts