HISE Logo Forum
    • Categories
    • Register
    • Login

    Default Value of a Slider doesn't change and the Slider Value always jumps to zero

    Scheduled Pinned Locked Moved General Questions
    43 Posts 2 Posters 2.2k 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.
    • M
      Myroslav Artiukh @d.healey
      last edited by

      @d-healey I got this error:
      error: Your local changes to the following files would be overwritten by checkout:
      projects/standalone/JuceLibraryCode/JuceHeader.h
      Please commit your changes or stash them before you switch branches.
      Aborting

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

        @Myroslav-Artiukh It's not an error, it's just telling you that your changes will be overwritten because you haven't commited them. If you want to keep them you can use git stash, otherwise just run git reset --hard before switching branch

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

        M 1 Reply Last reply Reply Quote 0
        • M
          Myroslav Artiukh @d.healey
          last edited by

          @d-healey It worked. Should I build HISE again?

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

            @Myroslav-Artiukh Yes

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

            M 1 Reply Last reply Reply Quote 0
            • M
              Myroslav Artiukh @d.healey
              last edited by Myroslav Artiukh

              @d-healey The build just finished and the problem is still there. I got a lot of warnings when building, for example this:

              ../../../../JUCE/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
                164 |                 delete[] reinterpret_cast<char*> (b);
                    |                                                    ^
              ../../../../JUCE/modules/juce_core/text/juce_String.cpp: In function ‘getWithParameters.isra’:
              ../../../../JUCE/modules/juce_core/text/juce_String.cpp:56: note: declared here
                 56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
                    | 
              
              

              Maybe I need to update the JUCE version as a lot of these warnings have to do with JUCE?

              I also don't use the Intel IPP, maybe I need to turn it off somewhere in the settings?

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

                @Myroslav-Artiukh You can ignore those warnings, you don't need to install JUCE everything you need is included with HISE.

                Which version of Ubuntu are you using?

                Does changing the default value to something other than 0 make a difference?

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  Myroslav Artiukh @d.healey
                  last edited by Myroslav Artiukh

                  @d-healey I am using the newest version of Ubuntu (24.04 I think), Ubuntu Studio to be exact.

                  I can't change the default value to anything other than 0, which is why I thought that it might be the reason this is happening.

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

                    @Myroslav-Artiukh said in Default Value of a Slider doesn't change and the Slider Value always jumps to zero:

                    I can't change the default value to anything other than 0,

                    That's strange, you should just be able to enter a new value in the interface designer.

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

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Myroslav Artiukh @d.healey
                      last edited by

                      @d-healey Could you maybe send me your build of HISE for Ubuntu (if you are allowed to do that). Maybe I have done something wrong during the build and that's why it doesn't work.

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

                        @Myroslav-Artiukh I don't use Ubuntu - however I'm installing it now to test

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

                        M 1 Reply Last reply Reply Quote 1
                        • M
                          Myroslav Artiukh @d.healey
                          last edited by

                          @d-healey Thank you so much

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

                            @Myroslav-Artiukh I can't even get HISE to compile, I get errors about missing header files - did you run into these?

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

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Myroslav Artiukh @d.healey
                              last edited by

                              @d-healey I don't think so. What exactly is missing?

                              Some dependencies are hard to find and I had a few other issues, which were not hard to solve, but I don't remember any headers missing.

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

                                @Myroslav-Artiukh

                                It's saying it can't find gtk.h or ft2build.h

                                Also
                                Package 'webkit2gtk-4.0', required by 'virtual:world', not found

                                Apparently webkit2gtk-4.0 isn't available on the latest version of Ubuntu.

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

                                M 2 Replies Last reply Reply Quote 0
                                • M
                                  Myroslav Artiukh @d.healey
                                  last edited by Myroslav Artiukh

                                  @d-healey You can get webkit2gtk-4.0 installed by copying files from some websites, but go into the Projucer and uncheck the "Use Web Browser" box in the juce_ui_extra module (not sure if the names are 100% right, but it should be something similar).

                                  webkit2gtk-4.0 is only needed for web applications.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Myroslav Artiukh @d.healey
                                    last edited by Myroslav Artiukh

                                    @d-healey If it is required for HISE I can send the files over or find the website.

                                    Here is the download link and all of the dependencies are listed below: https://archlinux.org/packages/extra/x86_64/webkit2gtk/

                                    Turning off the setting would be much quicker so try that first.

                                    If you need gtk, download gtk3 from apt.

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

                                      @Myroslav-Artiukh Disabling the web browser option in projucer creates new errors in the terminal because it is required by perfetto (which I've also disabled but for some reason it still wants the web view)

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

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

                                        How about you just send over the HISE binary you compiled and I can try it here?

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

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Myroslav Artiukh @d.healey
                                          last edited by

                                          @d-healey https://fex.net/s/xy2vcdp

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

                                            @Myroslav-Artiukh Yep I get the same glitch as you with that build. I suspect it's something to do with the weird dependency issues.

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

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

                                            29

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.0k

                                            Posts