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.
    • 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

                            28

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.8k

                            Posts