HISE Logo Forum
    • Categories
    • Register
    • Login

    Who recognises the error?

    Scheduled Pinned Locked Moved General Questions
    17 Posts 6 Posters 759 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.
    • MikeBM
      MikeB
      last edited by MikeB

      Nonsensical errors constantly

      one and the same error keeps popping up. setMidPoint!
      Although I have removed it and saved everything again.

      Today I just opened it and this error appears.
      in line 23 ?????
      This line has not been changed for months.

      It is only about the error in LINE 23!!!

      Bildschirmfoto 2022-11-29 um 20.16.58.png

      "One hour of trial and error can save 10 minutes of reading the manual."
      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

      DanHD 1 Reply Last reply Reply Quote 0
      • DanHD
        DanH @MikeB
        last edited by

        @MikeB if you have a slider with a range of, say, 10-30. And a mid-point set to 5 for example then you will get this error. Possibly there’s a mid point set to -1 that is causing this error. Have a look through your sliders and see if you can spot it.

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        MikeBM 1 Reply Last reply Reply Quote 0
        • MikeBM
          MikeB @DanH
          last edited by

          @DanH sorry Dan it is about the error in line 23 the other is a bug because there is no knob whose midpoint is not set correctly. The midpoint error appears again and again!

          "One hour of trial and error can save 10 minutes of reading the manual."
          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

          DabDabD 1 Reply Last reply Reply Quote 0
          • DabDabD
            DabDab @MikeB
            last edited by DabDab

            @MikeB What is your laf.js ? The Error is there. Line 23. Open laf.js and go to line 23. And correct it.

            Bollywood Music Producer and Trance Producer.

            MikeBM 1 Reply Last reply Reply Quote 0
            • MikeBM
              MikeB @DabDab
              last edited by

              @DabDab Sorry, but there is no recognisable error in line 23.
              not the slightest! See screenshot external editor!

              Bildschirmfoto 2022-11-29 um 21.09.29.png

              "One hour of trial and error can save 10 minutes of reading the manual."
              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

              Dan KorneffD 1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @MikeB
                last edited by

                @MikeB are you missing a ; somewhere earlier in the script?

                Dan Korneff - Producer / Mixer / Audio Nerd

                MikeBM 1 Reply Last reply Reply Quote 0
                • MikeBM
                  MikeB @Dan Korneff
                  last edited by

                  @Dan-Korneff said in Who recognises the error?:

                  @MikeB are you missing a ; somewhere earlier in the script?

                  Sorry Dan Zero points :-)

                  No missing ;

                  Bildschirmfoto 2022-11-29 um 21.17.48.png

                  "One hour of trial and error can save 10 minutes of reading the manual."
                  "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                  HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                  Matt_SFM 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @MikeB
                    last edited by

                    @MikeB it can be missing earlier in the script (since you're using 'include' files). If you comment out this line, do you get an error on line 22, or 24 ?

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    MikeBM 1 Reply Last reply Reply Quote 0
                    • MikeBM
                      MikeB @Matt_SF
                      last edited by

                      @Matt_SF Now comes the hammer!

                      If I comment out the line, the error remains in the line - that's crazy.

                      Well, the depths of HISE are unfathomable :-)

                      Bildschirmfoto 2022-11-29 um 21.30.15.png

                      "One hour of trial and error can save 10 minutes of reading the manual."
                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                      d.healeyD Matt_SFM 2 Replies Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @MikeB
                        last edited by d.healey

                        @MikeB Do you have more than one file called laf.js? Perhaps Laf.js and laf.js? Also why are you using global LAF for sliders and not local LAF?

                        Another option, send me the project (without the samples, pooled resources, or binaries folder).

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

                        MikeBM 1 Reply Last reply Reply Quote 0
                        • Matt_SFM
                          Matt_SF @MikeB
                          last edited by

                          @MikeB so take a look in the previous include files (or init CB) : look for a missing ; or open bracket {}

                          Develop branch
                          Win10 & VS17 / Ventura & Xcode 14. 3

                          MikeBM 1 Reply Last reply Reply Quote 1
                          • MikeBM
                            MikeB @d.healey
                            last edited by

                            @d-healey said in Who recognises the error?:

                            @MikeB Do you have more than one file called laf.js? Perhaps Laf.js and laf.js? Also why are you using global LAF for sliders and not local LAF?

                            Another option, send me the project (without the samples, pooled resources, or binaries folder).

                            Thanks David
                            I have now installed the latest build and the error is gone.

                            It didn't make any sense.

                            What do you mean by LAF global vs. local?

                            "One hour of trial and error can save 10 minutes of reading the manual."
                            "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                            HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                            1 Reply Last reply Reply Quote 0
                            • MikeBM
                              MikeB @Matt_SF
                              last edited by

                              @Matt_SF Everything before - which is not very much - is ok no missing brackets or semicolons.

                              This has also been solved by the current build.
                              Thank you

                              "One hour of trial and error can save 10 minutes of reading the manual."
                              "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                              HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                @MikeB said in Who recognises the error?:

                                What do you mean by LAF global vs. local?

                                There has been for quite a while now two kinds of LAF. Global and Local. Local can be applied to individual components.

                                Instead of const laf = Engine.createScriptLookAndFeel(); You can do this.

                                const knob = Content.getComponent("knob");
                                const knobLaf = Content.createLocalLookAndFeel();
                                
                                knob.setLocalLookAndFeel(knobLaf);
                                

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

                                MikeBM 1 Reply Last reply Reply Quote 0
                                • MikeBM
                                  MikeB @d.healey
                                  last edited by

                                  @d-healey I remember seeing this somewhere before.
                                  Didn't you make a video - or mention it in one of your last ones?

                                  "One hour of trial and error can save 10 minutes of reading the manual."
                                  "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                  HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                    @MikeB I think I did mention it in a video recently yes. I haven't done a dedicated video about it yet though.

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

                                    MikeBM 1 Reply Last reply Reply Quote 1
                                    • MikeBM
                                      MikeB @d.healey
                                      last edited by

                                      @d-healey I will find it - thank you

                                      "One hour of trial and error can save 10 minutes of reading the manual."
                                      "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                                      HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                                      19

                                      Online

                                      1.7k

                                      Users

                                      11.8k

                                      Topics

                                      102.8k

                                      Posts