HISE Logo Forum
    • Categories
    • Register
    • Login

    Get data from external script processor

    Scheduled Pinned Locked Moved General Questions
    19 Posts 4 Posters 722 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.
    • ulrikU
      ulrik
      last edited by ulrik

      I need to use data from the "ReadNotes" script processors onNoteOn & onNoteOff callbacks, I need it in my main interface script
      see picture

      Skärmavbild 2024-10-14 kl. 19.57.37.png

      That works great in Hise, but as soon as I compile the plugin (Export as Midi FX Plugin) it stops working.

      I wish this setting also could be applied to Midi FX Plugins, (but for script processors), is it possible to achieve that?
      Or is there a pre processor setting I need to get it to work?

      Skärmavbild 2024-10-14 kl. 20.11.00.png

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

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

        @ulrik said in Get data from external script processor:

        I need to use data from the "ReadNotes" script processors onNoteOn & onNoteOff callbacks

        There's probably another way to approach this. What exactly are you needing to do? And can you make a minimal snippet we can play around with?

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

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @d.healey
          last edited by ulrik

          @d-healey so this is a small test, all information is written inside the project

          So pressing any key (the blue key in the gif), will generate a c3 note on, and a delayed note off (the red key in the gif)

          The delayed note off is taken from the external script processor (because it will be accurate)
          I have tried using the Content.callAfterDelay() function and it will also work, but not as precise as this approach.

          However, if I export this project as Midi FX plugin, the external script processor will not log the onNoteOn and onNoteOff callbacks

          externalscript.gif

          EDITED changed to a cleaner snippet using the Global Routing Manager
          I almost thought this would work if compiled as a Midi FX plugin, but...even the Global Routing Manager fails me 😔

          HiseSnippet 1650.3oc6XstSabDEdWfsJdSZUSUTU+4HT+goxxY8Ev1oJJfu.AQHPwDR6OphFu6r1iX1Y1t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RpBBlsImAS9R5DmypMI9ToHTKaZYCLhUlN5Ho261LAV0E7XJ.UJzTdEq8ZZ7prSSGM4vex17kTO4foD9sMGPn8GLcN6u9CalBrDTXasWZYnQu9imxdGqpkqWs1FMpT2wfJIAiYbaqpqWtQ8p0qTJC8xIZznZiMpUtw5FRnMR1A1ZOxR+ro0qsQnUg264JPt5CPkpVzofhVaZbHjeefqDeVZZCvV2eSy+IhWBpAjZnO9XZxInur9bqgwRQvNQ3vAT23YzrMwGOjI2JLjfiT6g.bUogZlMYPSO3pNBbwBfgSwMZn+pW2oVCmZkzRcrneeFYegGYlaVMAGlny4DlBJZZOKlbBwER5xfkIuFvbaFV1UNhM2McXmwAg4oCIuQxouR4wz6v8x71aXeNr.0El0CaYH7FBO4rqdnVPKkATHMy7d0LcdLUNJ6Bbu21G4pBw6ZcHU5NXwXboEfQnb6CAFS2h6ys536CQ0o.bEqs+wOLqrk84u0kry88rNhf0yMhUkx.YRz6iMvCuxafat7GhEnW4F8BzShIKbA5e2z5FzltWxxMYtqSTyZur48u8sJx9tuaWym1T3SM4+nnI+j5cYDEVkyBx36BMWcIoyzU4flKoxVRN6nNq7.cIbO8g+F9RYVRc1LkYowLyZheQhIdaqtPWG8vDsA905ynmCqbg1g.CQTAnRyDFlcRxe89eRRxFeGCalEGJhm4h6RBnGCKEGmknZGpHxunWXKK8VvxSKj0adz1fQtPc5hkCizodaEHFxkyjp8VmvU5ilIb2.ZnLyP3biwXWZPHizgeFgAcM0X7qrRW1eL0YxkWdeAWDNPvotYCzGQfZv9vT2rXegFzVRI7WKLkx817HBifylz9sa9DHYCGo9aEtl9hRuyKjrv302Xk.Wjp.DcycPvxeZPv+0AA+e7FAX2HwKbSVyRkmdKMEvt45+W5yYsu5Lpjgd0qrwx.nK2Kbcm8ptfhkutJV45pX0qqhqecUbiqqh0ttJV+eWQ0PnsFJEAIklFF6eXG8dqllc3pM40UDF+Cfjg1Ee
          

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          d.healeyD 2 Replies Last reply Reply Quote 0
          • ulrikU ulrik referenced this topic on
          • d.healeyD
            d.healey @ulrik
            last edited by

            @ulrik said in Get data from external script processor:

            EDITED changed to a cleaner snippet using the Global Routing Manager

            Can you show me the original version without the routing manager, since that doesn't work in the fx plugin?

            I can see in your snippet that your UI script is undeferred, which definitely points to another solution because as soon as I defer it the script no longer functions and a UI script should always be deferred in my experience.

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

            Christoph HartC ulrikU 2 Replies Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              @d-healey said in Get data from external script processor:

              a UI script should always be deferred in my experience.

              Not if you're ONLY doing actual realtime MIDI processing in your interface's callback. There is a legitimate use case for this but in most cases it isn't.

              1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @d.healey
                last edited by ulrik

                @d-healey here's the old snippet, the TriggerBtn in the external script processor is connected to the TriggerBtn in the Main script

                I also made both the note on and note off messages delayed

                HiseSnippet 1850.3oc6YE0aaaCDVJIZn1sqXcnXXORXrGbFRckcbRrWQWSbhcWPZZxhy51PQw.sDsMQnI0jnSqQQ.F1ur89dY+T1+fsiTRVTtNcodsCnCUHA17ti7Nd7i28ojiCEdjnHQnkcwSmDPrrugS2Ib4vcGhobq82yx9SbNkDIQOGICoCFPBsZMI.GEQ7srsW9gJqrKrhk94OePKLCy8HYhrrdhf5QdDcDUlI83sOfxXcv9jSoiLrt9166I36JXhwPDsriqU.16L7.xiwJyVxw5avQCsr+Rm0I90Zz.uQ80W2qQyFda4gaP7p1aK2Z399q2f32yu9F0wV1eTaepTD1UhkjHK6UZI7mzcn347XG7DZDsGinFT0pK34XwcDLe0VTI0Z2gTl+woopHKXQONKwsbbh61NGR8oSkal.UJPYyvLAZuT9va4bgWUyvy0H7lSHYaDRqDGR2xoqWHMPloQEOW2YetjD1GCmSlgRrsVK86q3rq.rfKqLBeFoSHLX5LJuoq6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dHLqb.7FJy7RsT4s49F9dyhWnvfSwPWKFCcyDLTqwRofqQO2vIqAzkghfm7nHqebVTDHIBNo1mebHAp3FeLSiNTnZUhCmjbQ4U4k.LhD9igrPdZRJxjIJf6143ln3evinxIljMeqwc5pFh2x4Xpza37iwklSLBU.dWDiILN+Xm186C.sr.bEmN+v6F5klt+ZWxaJbamSHXcqrHU0EP7am2VH3J+1B1K+tfr+JuWS1e5YxbI6WZImXNbYUDL3xALShKajiT6ZHfehhwQlLEiqxkLt6m0meViLKYXPxbVyBR2F66CVUZ5KfTZd1BE0GQ.Chs0j+88tDJZoz6CFGMr7KKcltSxkybQUJELPwY5BEwGiHvanhlne4WOKpE0e.ioqrC+.GJksKP+OG6jdeweIWKLGakr784hMy.gl+kpMfiy3qOzK7+E8BOQLVwF+PrLjpfOvE2tPOHORBaL0cD6kTn43wtoPltDtudveAOIJqlhwTJqlpzbKdy3s30c5BcT08b0avOSOF88.zD8PBzqUc.UM2wP9Ft+wa+Ftwb0OE3TGEHhxsvcIinmBWEiLEpX+FR9YMUaS46Bzdmqp+7AcfM4bmSWrbbnF5syHwXtLGT60RDn5+aHB7dPAkbbUJjFicoiBXj17yILnptNF+TmjWSKUZNr7xGJ3hfgBN0y7f9DR5eVZiXetancjR387xjb6sOgvHXSP6Wr8i.vFNT8VdKXtn5aLus4dd84NwgKRcAD89aifk+Pif+sMB9uvGivdghexKlFnBmdMsDXey0+iWJ3bnZLppklZn4Y4HnJ2O44keodkIVaQm35K5DqunSbiEchatnSbqEchM9mmnpIzNikhQwWMsrN731Zd011s4X.kquQX823BBYSB
                

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

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

                  @ulrik said in Get data from external script processor:

                  The delayed note off is taken from the external script processor (because it will be accurate)

                  What do you mean by external script processor? Are you referring to the ReadNotes script?

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

                  ulrikU 1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @d.healey
                    last edited by

                    @d-healey said in Get data from external script processor:

                    @ulrik said in Get data from external script processor:

                    The delayed note off is taken from the external script processor (because it will be accurate)

                    What do you mean by external script processor? Are you referring to the ReadNotes script?

                    Yes

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

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

                      So I can see a different route for this. Keep only GUI related stuff to the Interface script, any delaying of events can be done in another script processor, and updating the keyboard colours can be done with a timer (or multiple timers).

                      If you add Synth.deferCallbacks(true); at the top of your UI script it will force you to separate GUI stuff from real-time MIDI stuff.

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

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @d.healey
                        last edited by

                        @d-healey said in Get data from external script processor:

                        So I can see a different route for this. Keep only GUI related stuff to the Interface script, any delaying of events can be done in another script processor, and updating the keyboard colours can be done with a timer (or multiple timers).

                        If you add Synth.deferCallbacks(true); at the top of your UI script it will force you to separate GUI stuff from real-time MIDI stuff.

                        Well that isn't the issue, the issue is that I can't get data from the "ReadNotes" script when I compile it as Midi FX plugin, it will not work

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                          @ulrik said in Get data from external script processor:

                          I can't get data

                          What do you mean? If you're trying to pass information from the ReadNotes script to the UI script then I think you are doing it wrong :) The scripts should be able to function separately.

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

                          ulrikU 1 Reply Last reply Reply Quote 0
                          • ulrikU
                            ulrik @d.healey
                            last edited by

                            @d-healey My question was, how do I pass data from the "ReadNotes" script to the main script,
                            well that is indeed working but, it's not working if I export the project as Midi FX plugin.

                            Let me ask this instead:
                            Is it possible to get data from the ReadNotes" script to the main script, if I export the project as a Midi FX plugin?
                            The "ReadNotes" script is not meant to function separately, the script is there for the reason to pass data to the main script.

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

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

                              @ulrik said in Get data from external script processor:

                              Is it possible to get data from the ReadNotes" script to the main script, if I export the project as a Midi FX plugin?

                              Not sure, I haven't worked with MIDI FX. Are you relying on a global variable to pass this data back? If so that might be the cause of the issue.

                              @ulrik said in Get data from external script processor:

                              The "ReadNotes" script is not meant to function separately, the script is there for the reason to pass data to the main script.

                              I understand this is your design, but separating UI logic from realtime processing is usually the way to go. Unless there is some reason why that can't be done I would recommend exploring it, although of course it might require too much disruption to implement it in your current project.

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

                              1 Reply Last reply Reply Quote 0
                              • ulrikU
                                ulrik @ulrik
                                last edited by

                                @ulrik Another try to get data
                                I have a sliderpack in the ReadNotes script, and in the main script
                                They are connected via sliderPackData, and it works in Hise.

                                externalslp.gif

                                but as soon as I compile and export to Midi FX plugin, the connection is broken.

                                @Christoph-Hart is it possible to make sub containers, with script processor to work in a Midi FX Plugin, is it not meant to work or is it a bug?
                                If it's not meant to work, is it possible to make changes to the Hise code so it will work?

                                this is the snippet

                                HiseSnippet 1990.3oc6Y8taabbD+NJcFgmSJZBLJ5mZ2RzOPUPvbjhRhzoFljRTNBxxlUTwI8CEoqtaH4Beb2K2sTVrAFHnuQ8MnOB8QIuAsyt2e3QJRaYV6hZCe.FR6ry+1Ylc1eiU+PgKDEIBMLsuXV.XX9oVClwkiObLkwMN4HCyOy5BHRRdAIxOHxn6r.ZTD3YXZt0iTrXVbaC82O+vtTeJ2ElSxv3YBlK7X1DlbN09sO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ES8wArIA9PO9UfO11W6iegUx+eKoTWrV9LAWDLVvYt4SzmC3cvQifv799JOPcjR0iCYTtW6yAeflun8229wXwFMou9FEKp8F+WvYk4qesUr6RTW.Iu+9PvVe7gf+aeH3+E1XB0MT78twyhnpS+DME7by0+UYKZclZMoV5zGyykSvtbeuq6hp5FBVeSEb2MUvFapf6soBt+lJ3AapfMe8BpdDpyToXR7USCiy52SC71zrGmhU45aDF+G.Jkbwq.
                                

                                Hise Develop branch
                                MacOs 15.3.1, Xcode 16.2
                                http://musikboden.se

                                ulrikU 1 Reply Last reply Reply Quote 1
                                • ulrikU
                                  ulrik @ulrik
                                  last edited by

                                  @ulrik Ok I investigated how to visually display the delayed note ons and note offs without actually reading them from an external script processor (since it's not possible to do that when compiling to a Midi FX plugin).
                                  So I used the

                                  Content.callAfterDelay()
                                  

                                  function applied to 16 separate panel components and got it to work, you can see the effect here, when I rotate the polygons (delaying the note on and offs), the keys will be painted according to the delay.

                                  polygonarp.gif

                                  Thank you David for pressing me to deal with the task in another way, finally it worked 🙏🏻

                                  Hise Develop branch
                                  MacOs 15.3.1, Xcode 16.2
                                  http://musikboden.se

                                  d.healeyD orangeO 2 Replies Last reply Reply Quote 4
                                  • d.healeyD
                                    d.healey @ulrik
                                    last edited by

                                    @ulrik Nice! You always make such cool GUIs!

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

                                    ulrikU 1 Reply Last reply Reply Quote 0
                                    • ulrikU
                                      ulrik @d.healey
                                      last edited by

                                      @d-healey Thank you David!

                                      Hise Develop branch
                                      MacOs 15.3.1, Xcode 16.2
                                      http://musikboden.se

                                      1 Reply Last reply Reply Quote 0
                                      • orangeO
                                        orange @ulrik
                                        last edited by

                                        @ulrik Interesting and inspiring GUI! Very cool.

                                        develop Branch / XCode 13.1
                                        macOS Monterey / M1 Max

                                        ulrikU 1 Reply Last reply Reply Quote 0
                                        • ulrikU
                                          ulrik @orange
                                          last edited by

                                          @orange Thank you!

                                          Hise Develop branch
                                          MacOs 15.3.1, Xcode 16.2
                                          http://musikboden.se

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

                                          16

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          103.1k

                                          Posts