HISE Logo Forum
    • Categories
    • Register
    • Login

    Connecting A Panel To Another Painted Panel, On Script Processor

    Scheduled Pinned Locked Moved Scripting
    20 Posts 2 Posters 451 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.
    • NatanN
      Natan @d.healey
      last edited by

      @d-healey
      Actually, It's A Painted Keyboard, And I Need To Move It To Another Processor So I Can Defer My Main Interface Callbacks.
      And I Need To Make One On Frontend To Send Mouse Clicks To The Back End One.

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

        @Natan

        Why can't you use it in your deferred main interface already? But moving it to another script won't help anyway because no-one will see it.

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

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

          @d-healey I Sent You A Message Sir,
          It's Uses Midi, And You Already Said That I Need To Have 2 Midi Processors, To Use Defercallbacks.
          And I Need To Move The Realtime Midi Stuffs To Another Processor

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

            @Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:

            I Sent You A Message Sir,

            Yeah I saw it, but you posted here too, let's stick to one place.

            It's Uses Midi, And You Already Said That I Need To Have 2 Midi Processors, To Use Defercallbacks.

            You only need to defer callbacks if what you're doing requires real-time processing. An on-screen keyboard doesn't require real-time processing. The message thread is fast enough.

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

            NatanN 2 Replies Last reply Reply Quote 0
            • NatanN
              Natan @d.healey
              last edited by

              @d-healey It Has A Scaling System Attached To It, And Once I Defercallbacks, I Get Doubling, Or Lags.

              The Scale Box Need Realtime Processing I Guess.

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

                @Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:

                The Scale Box Need Realtime Processing I Guess.

                Then this is probably the part you need to move to a separate script.

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

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

                  @d-healey
                  It's A Little Complex Because The Painted Keyboard Looks At Combo Box To Change The Allowed Key Colors.

                  I Sent You Another Snippet
                  Please Check Your Inbox

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

                    @Natan Post it here so others can see it too. I don't have much time at the moment to look at it.

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

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

                      @d-healey said in Connecting A Panel To Another Painted Panel, On Script Processor:

                      You only need to defer callbacks if what you're doing requires real-time processing. An on-screen keyboard doesn't require real-time processing. The message thread is fast enough.

                      @ulrik Is This Possible To Seperate The Scale Box From The Keyboard?
                      I Just Tested, And Defercallbacks, Causes A Doubling Issue On Keyboard.
                      I Guess It's Not Possible, Correct?

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • NatanN
                          Natan
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey
                            last edited by

                            Regarding the note doubling, this is an easy one. Tell me, what happens when you bypass your script and press a note on the keyboard?

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

                            NatanN 1 Reply Last reply Reply Quote 1
                            • NatanN
                              Natan @d.healey
                              last edited by

                              @d-healey It Fixed Sir :)
                              @Ulrik Helped With His Magic Skills :)

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

                                @Natan

                                It Fixed Sir

                                Errr, nope. If you disable your script then your script won't do anything.

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

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

                                  I Moved The Scaler ( With the Help Of @ulrik ) To Background.
                                  And Made A New Keyboard For The Frontend With Defercallbacks,
                                  And A Dummy Scaler Combobox, To Change The Background Scales.

                                  BTW, I Don't Disable The MidiProcessor For Scaling, It's On Back And Enabled.

                                  @d-healey said in Connecting A Panel To Another Painted Panel, On Script Processor:

                                  Errr, nope. If you disable your script then your script won't do anything.

                                  Could You Be More Specific? I Didn't Get Your Point

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

                                    @d-healey I Send You The Final Code, Take A Look :)

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

                                      I Send You The Final Code, Take A Look

                                      Seems to work :)

                                      @Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:

                                      Could You Be More Specific? I Didn't Get Your Point

                                      In the snippet you sent me in PM you had a main interface processor with a keyboard and you were getting doubled notes. I asked you what happens if you bypass that script and you said it solved the problem, which it doesn't because you need your interface script :)

                                      The correct answer is when you disable your interface script and trigger a midi note you'll hear 1 note, not 2. So why do you hear 2 when the interface script is enabled?

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

                                      NatanN 1 Reply Last reply Reply Quote 1
                                      • NatanN
                                        Natan @d.healey
                                        last edited by

                                        @d-healey Thank You Sir 👏 Yeah @ulrik Did A Great Job

                                        In A Few Snippet Back, There Was A Simple Issue That Quickly Fixed By Ulrik, For Keyboard.
                                        Then We Seperated The Scaling System ( To Use The Defercallbacks On Main Init )
                                        And Added A Dummy Intervals So The Painted Keyboard Look At It, And Do The Coloring.

                                        Indeed It Is A Beautiful Piece Of Code.
                                        And Was Challenging 👏

                                        Btw, Thanks For Your First Snippet, That Helped To Solve The Puzzle 👏🤍 Much Appreciated

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

                                        47

                                        Online

                                        1.7k

                                        Users

                                        11.7k

                                        Topics

                                        102.0k

                                        Posts