HISE Logo Forum
    • Categories
    • Register
    • Login

    Propagate artificial midi notes

    Scheduled Pinned Locked Moved Scripting
    eventnotemidiartificial
    9 Posts 4 Posters 506 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.
    • d.healeyD
      d.healey
      last edited by

      Is there a way to get a script further down the chain to see MIDI events generated by another script? I thought there was but can't seem to figure it out now...

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

      1 Reply Last reply Reply Quote 1
      • Casey KolbC
        Casey Kolb
        last edited by

        This would be cool. I'm imagining a scenario where you could use a glide script to glide notes from the arpeggiator, etc.

        Casey Kolb
        Founder & CEO of Lunacy Audio
        Composer | Producer | Software Developer

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

          @Lunacy-Audio

          My use case is I have a script that triggers notes based on a CC being moved, and I want those same notes to be picked up by a legato script later in the chain. My current solution is to merge the two scripts so they can share the notes. Another solution is to use global variables for the event IDs but I think that's messy.

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

          ustkU 1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey What if you simply generate the notes in a container higher up in the tree? All the children will be able to see the events

            Can't help pressing F5 in the forum...

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

              @ustk You mean if I use Synth.playNote() the events will be seen by other scripts?

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

              ustkU 1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @d.healey
                last edited by

                @d-healey Yes:

                HiseSnippet 1100.3oc6Xs0aaTDEdFGOn3s3JJvCHUdXUd.4fRsVCsAjPBb7k.VT6XYap3sxjcGGOJqmY0tia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qtmOWenwIziaOp2vI6Aqv8+usOLtc19v5Jabz3+vMNv+K23nPaLfyLLl7Fswvu1LyrXTsKOKd6XwsiEyF1B2+5cqohkuaMUD+6DyMahQzc81AFucGXTnF9aaKemos7H4BEWbVepxmCisICVLeLzQzlAHQHXtA5uAaIcFUDsklVGYFyDNgD+M7DKrglFGKrQhv2YdGyo19xmaGU9oadtaHGH1JB+8gqP5qoMW8K0PHV0sPygd5O21Vek9H3NHea9hBXyWV.adbAr4IEvlCKfMeUAr4quQaziSOZgRNOpbGXLraX6PLtqfBUKgUVn+AP8xdZJ
                

                Can't help pressing F5 in the forum...

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

                  @ustk Oh wow, this changes everything!!! Any idea why it works when they're in different chains but not when they're in the same one?

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

                  ustkU 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @d.healey
                    last edited by ustk

                    @d-healey I think there's something related to the fact that Hise works as a tree chain... So it's always a parent->child matter

                    Can't help pressing F5 in the forum...

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

                      Yes thats correct. Sibling midi processors will not process generated events. I don‘t remember the exact reason but there were some issues with recursion protection so I deactivated it.

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

                      25

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.8k

                      Posts