HISE Logo Forum
    • Categories
    • Register
    • Login

    scripting routing matrix - add connections

    Scheduled Pinned Locked Moved Scripting
    86 Posts 7 Posters 4.5k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Have you enabled OpenGL in HISE?

      NatanN 1 Reply Last reply Reply Quote 0
      • NatanN
        Natan @Christoph Hart
        last edited by

        @Christoph-Hart By Adding Flag HISE_USE_OPENGL_FOR_PLUGIN=1

        NatanN 1 Reply Last reply Reply Quote 0
        • NatanN
          Natan @Natan
          last edited by Natan

          @Christoph-Hart Just Removed It, And It Still Lags
          Kinda By Typing It Searches For Similar API/Commands, So It Takes A While To Get The Type Input.

          Also I Have 2 ScriptProcessors,
          First One Works Okey // NO It LAgs Also
          Second One Lags.

          Also Defercallbaks Enables

          EDIT:
          It Searches For Similar Commands, And Takes Too Much Time

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

            No I meant the HISE OpenGL setting (it's unaffected by the flag for compiled plugins):

            8fbfdbdf-4043-42a8-a035-f39aeedffd49-image.png

            This will speed up the rendering of the scriptnode graph and the new editor by quite a bit.

            However if it lags as much as you describe there's something else. Does it also lag with a empty script or just when you load a big project?

            NatanN 1 Reply Last reply Reply Quote 0
            • NatanN
              Natan @Christoph Hart
              last edited by Natan

              @Christoph-Hart

              In An Empty, It won't Lag
              With My 8K-Line Project, It Lags Like I Can't Even Type A DASH /

              Enabling/Disabling won't Help :|

              And There is An Extra .0 In Everywhere, On LAF Painted Sliders, It Should Look Like 20000 Not 20000.0
              Also, It Is In The Min-Max For Slider Properties Aswell

              db4ceaa3-00de-45a3-8f59-99707f267717-image.png

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

                Ah, OK, I'll try to optimize it for larger files then.

                You can revert to the old editor by changing a flag in the Projucer, then recompile HISE (I kind of foreseen this being a PITA), so the editor should not keep you from using the develop branch:

                373f7912-4af4-43aa-ae9a-8687d9b2103d-image.png

                Open HISE Standalone in the Projucer, change that flag to disabled, then recompile HISE.

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

                  Or you could take it as a hint to not put everything into one big script file but to modularize your code and use include statements to break it up :)

                  NatanN 1 Reply Last reply Reply Quote 2
                  • NatanN
                    Natan @Christoph Hart
                    last edited by

                    @Christoph-Hart said in scripting routing matrix - add connections:

                    uld take it as a hint to not put everything into one big script file but to modularize your code and use include statements to break it u

                    Sure, I'll Clean Up The Code For The Next Week Once I Reached To 95% Doen, Now I'm At 90% Of Ideas. And All Works Nicely :)

                    Thanks A Ton For The Help Christoph, You're A Legend :) :gem_stone:

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

                      But yeah, I can also reproduce the lagginess, it becomes unusable for files with more than 1000 lines. Back to the text editor code now...

                      NatanN 1 Reply Last reply Reply Quote 2
                      • NatanN
                        Natan @Christoph Hart
                        last edited by

                        @Christoph-Hart Brilliant, The Old Editor Fixed The Lagging :)

                        1 Reply Last reply Reply Quote 0
                        • NatanN
                          Natan
                          last edited by

                          @Christoph-Hart One Last Thing, It Shows This Error:

                          Interface:! Line 84, column 63: '-' is not allowed on the String type
                          Its The VU Meter Bu @orange

                          HiseSnippet 2137.3oc6Z8taabbD+njtTS4pBm.Ef7wEB4CTJjRjT+wN+QHxVRzksVRDVV1MHsHX0cKIWn6tkcu8XjZf.5iQ+PeG5qPdD5iP+Pe.5af6L6d+khRlhoNPN0TfDbmclY+MyNybytTcjBGVXnPZUp7KtX.ypzu193KBT82sOkGX0dOqR+F6CngJljXH8jKFPCCYtVkJM6SQBkJOmk90+4qeB0iF3vxHYY8RA2g8LtOWkQsyN+dtmWKpK6Eb+bbuwNscDA6J7DQ.dl0tt0.pyYzdrCoHayXaU5C12kqDxiUTEKzpzbOQ3dww8Eeefg+Wx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WyiLWy7ysGSEETjcCoBbglWKv7xw281IgXy7DgvhBJCFWPSGfaSIC+We89ATXS+XFXMtGE5.FK56xG2zIxKjoyNZjWvLxMySdzZi+uokv61+Vl+7c1jYmL39F94VKmfQyiS2GdPmGbD4zJ2coQdpDpESiNPDHFzWDvcxGS8bFj82qGqPbyXMnGqTTmyxnr3NOm4wng4Rs9zcdFOfQkfehMk9hFStu3l1u9DaCbIXtO4WFmob1eAclx2FYnP4w+O4op+brF9TGo36bLWSHl5cOMEvtCz+yuTFZfGFSZXou5PPN65qV2xGJf+cNNXzQMv+LdYZNExr9THyFSgLaNExr0THyCmBYdzMJC9ryGGoD9l3efPm802mZoRlVEzoBV+W.Hz.IeA
                          
                          
                          Christoph HartC 1 Reply Last reply Reply Quote 0
                          • MikeBM
                            MikeB @Natan
                            last edited by MikeB

                            @Natan said in scripting routing matrix - add connections:

                            db4ceaa3-00de-45a3-8f59-99707f267717-image.png

                            @Natan I had them everywhere after the changeover.
                            You can get rid of them with "whatever.parseInt(value)".

                            "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

                            NatanN 1 Reply Last reply Reply Quote 1
                            • NatanN
                              Natan @MikeB
                              last edited by

                              @MikeB said in scripting routing matrix - add connections:

                              parseInt(value)

                              Thank You Mike, But Where I Need To Use This?
                              On LAF?

                              MikeBM 2 Replies Last reply Reply Quote 0
                              • MikeBM
                                MikeB @Natan
                                last edited by

                                @Natan give me a second

                                "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 1
                                • MikeBM
                                  MikeB @Natan
                                  last edited by

                                  @Natan

                                  in this line - for example

                                  g.drawAlignedText(parseInt(obj.value), [0,0,80,30], "centred");
                                  

                                  "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

                                  NatanN 1 Reply Last reply Reply Quote 1
                                  • NatanN
                                    Natan @MikeB
                                    last edited by Natan

                                    @MikeB Amazing :) Thanks A Lot , Back To The Rails :raising_hands:
                                    alt text

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

                                      @Natan Slow down, before you see the life in curly brackets. :-)

                                      "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
                                      • Christoph HartC
                                        Christoph Hart @Natan
                                        last edited by

                                        @Natan Ah yes, good one, the script error is fixed now.

                                        NatanN 2 Replies Last reply Reply Quote 2
                                        • NatanN
                                          Natan @Christoph Hart
                                          last edited by

                                          @Christoph-Hart You The God 🙌 🙌 🙌 🙌

                                          1 Reply Last reply Reply Quote 0
                                          • NatanN
                                            Natan
                                            last edited by

                                            @Christoph-Hart
                                            External Audio File Slot On File Player Can Be Accessed Via PMA? Or How Is It Supposed To Change The PreLoaded Audio Files?

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

                                            45

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts