Forum
    • Categories
    • Register
    • Login

    How to display a label from a script processor to a label in the main interface. (processor ID doesn't work)

    Scheduled Pinned Locked Moved General Questions
    14 Posts 2 Posters 94 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.
    • Y
      Yannrog @David Healey
      last edited by

      @David-Healey in the script, it searches for what note beeing pressed, there on init scripts, onNoteon callbacks, onNoteoff callbacks. I started from your example of chord detection to help, it works perfect, however I can't display it in the main interface.

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Yannrog
        last edited by

        @Yannrog If all it's doing is showing chord names then it should be part of the interface script rather than a separate midi processor

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yannrog @David Healey
          last edited by

          @David-Healey Yes, I tried however.
          For some reason it cancel some codes,

          and does not work.

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Yannrog
            last edited by

            @Yannrog You can't just dump it in to your existing script, you need to write it into your script so it all works as a single unit

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            Y 1 Reply Last reply Reply Quote 0
            • Y
              Yannrog @David Healey
              last edited by

              @David-Healey ok,

              Normally it works well,

              When I add it to the script, it doesn't know the function “push“ and “indexof“. I am doing a beginner mistake. I am wondering, why it works by itself and when I add it to the new script it doesn't know the functions.. 🤔 Capture d’écran 2026-05-18 à 22.10.10.png Capture d’écran 2026-05-18 à 22.16.06.png

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @Yannrog
                last edited by

                @Yannrog Unknown function means the thing on the left side of the . is not what you think it is. In this case it means it's not an array.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                Y 2 Replies Last reply Reply Quote 0
                • Y
                  Yannrog @David Healey
                  last edited by

                  @David-Healey Thank you, I'll check it

                  1 Reply Last reply Reply Quote 0
                  • Y
                    Yannrog @David Healey
                    last edited by

                    @David-Healey
                    Yes it's a problem with the array,

                    In the chord script (works well by itself), when I delete the "reg keyheld = [ ]" line
                    It does not work anymore. It acts like when I tried to add it to the main script.

                    How can I fix the array, because it's a long list of chords

                    David HealeyD 1 Reply Last reply Reply Quote 0
                    • David HealeyD
                      David Healey @Yannrog
                      last edited by

                      @Yannrog I'd need to see some code

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - Public HISE tutorials
                      My Patreon - HISE tutorials

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        Yannrog @David Healey
                        last edited by

                        @David-Healey Hi,

                        I will simplify, make the chord analyzer separately

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

                        20

                        Online

                        2.3k

                        Users

                        13.7k

                        Topics

                        119.1k

                        Posts