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 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
        • M
          Myroslav Artiukh @d.healey
          last edited by

          @d-healey https://launchpad.net/~webkit-team/+archive/ubuntu/ppa found this website from your video, will try to download the library from there and check if it works. If it doesn't you can try sending me a binary compiled for a different Debian-based Linux distribution, like Linux Mint for example.

          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:

            If it doesn't you can try sending me a binary compiled for a different Debian-based Linux distribution, like Linux Mint for example.

            Here's my daily driver (compiled on Debian testing) https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/HISE Standalone.zip

            This is built from my fork of HISE so might have some stuff in that is not in the upstream.

            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 a lot! That works.

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

                @Myroslav-Artiukh Maybe it would be helpful for other people if that binary was on the HISE github, because the whole point of HISE is to make audio plugin development easy and the fact that you need to build it yourself doesn't work that well with that concept.

                I undestand why the developers don't care that much about compiling binaries for Linux, but there are a lot of people who would give up really quickly with issues like this one and wouldn't even try creating audio plugins because of the bad experience.

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

                  @Myroslav-Artiukh I think having precompiled binaries is a bad idea in general because it leads to confusion as users don't realise that they need to be able to compile HISE in order to be able to export their plugins.

                  You still need to solve the mystery on your system otherwise you won't be able to export your projects.

                  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 Oh, if you can't export plugins with pre-compiled binaries that's very reasonable. But why are there still binaries for MacOS and Windows if there is such a big issue with them?

                    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:

                      But why are there still binaries for MacOS and Windows if there is such a big issue with them?

                      Exactly my point :)

                      The precompiled binaries are useful so that people can try out HISE before they committing to setting up a development environment and learning how to compile software.

                      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 Quick update: I got that one really annoying dependency installed using the method described here: https://github.com/tauri-apps/tauri/issues/9662 and I will try building HISE again.

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

                          I've been doing some digging because I'm trying to build HISE on Debian testing and running into these same issues.

                          So the webkit issue appears to be solved in the master branch of JUCE and will need to be added to HISE - https://forum.hise.audio/topic/9988/hise-juce-8-license-question/6?_=1720085332729

                          The workaround for now is to open the make file and replace all instances of webkit2gtk-4.0 with webkit2gtk-4.1 - you'll need to do this after every time you resave the Projucer project.

                          For the missing ft2build.h in pkg-conf, that may have been solved in the latest JUCE, I'm not sure, but basically JUCE is not looking in the correct location so we need to add the header path in Projucer: /usr/include/freetype2

                          Same goes for the missing gtk.h file: /usr/include/gtk-3.0/gtk

                          I'm also getting a weird font issue that I haven't found a solution for yet

                          51ec1f6c-7719-4ea5-b86e-012568bc2ff3-image.png

                          Update: Just tried on a Debian 12 (stable) system and everything builds without hassle but the font issue is there also, I'll try and track this one down.

                          Update 2: The font issue is caused by (unsurprisingly) a missing font. I copied the .fonts folder from my regular system over to this new one and the issue goes away. Now to figure out which font is the culprit - probably Lato or Oxygen depending on your projucer settings.

                          Update 3: On my test systems the font that's required is called SourceCodePro (no idea where this came from but as long as it's in my .fonts folder everything looks good).

                          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

                            Ok here's something significant, you must compile with gcc/g++ 11 or earlier. See if that fixes your slider issue.

                            I was having some glitches with look and feel. As soon as I switched to the earlier compiler those problems went away. I hope this is fixed in future JUCE versions...

                            And install mold linker for much faster linking.

                            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

                              I ran into this again on a new system so decided to improve life a tiny bit as best I can until we get some of the changes from JUCE 8.

                              So to build HISE on a newer Debian based distro.

                              • Use my fork if you can.
                                • If not then add /usr/include/freetype2 and /usr/include/gtk-3.0/gtk to the extra header paths in Projucer
                              • Install the SourceCodePro font in ~/.fonts
                              • Install mold linker and alias it to gold
                              • Install gcc-11 and g++-11 and set them as the default (instructions here)
                              • Install libwebkit2gtk-4.1-dev
                              • Add a symlink for libwebkit2gtk-dev-4.0 that points to libwebkit2gtk-dev-4.1:
                                • Locate the pkconfig file (.pc). On my system it's in /usr/lib/x86_64-linux-gnu/pkgconfig/ You can find it by running find /usr -name "webkit2gtk-4.1.pc"
                                • cd to the folder that contains the file
                                • Run sudo ln -s webkit2gtk-4.1.pc webkit2gtk-4.0.pc to create the symlink.

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

                              1 Reply Last reply Reply Quote 0
                              • LevitanusL Levitanus referenced this topic on
                              • First post
                                Last post

                              26

                              Online

                              1.7k

                              Users

                              11.7k

                              Topics

                              102.0k

                              Posts