HISE Logo Forum
    • Categories
    • Register
    • Login

    How to change processorID of AHDSR floating tile?

    Scheduled Pinned Locked Moved Scripting
    adsrahdsrfloating tileupdateprocessor id
    6 Posts 2 Posters 557 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

      I'm sure I've done this before but I can't remember now. I know I have to do something with the tile data... any ideas?

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

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

        I think it might just be this?

        const var tileData = {
          "ProcessorId": "AHDSR Envelope1",
          "Index": -1
        };
        
        const var ScriptFloatingTile1 = Content.getComponent("ScriptFloatingTile1");
        ScriptFloatingTile1.setContentData(tileData);
        

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

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

          @Lunacy-Audio Doesn't work unfortunately

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

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

            I figured it out

            floatingTile.set("Data", "{\r\n  \"ProcessorId\": \"envelopeId"\",\r\n  \"Index\": -1\r\n}");
            

            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

              Yikes, that looks wild 😨

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

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

                @Casey-Kolb Just came back to this for another project and figured I'd try to make it work using your idea. I found the missing piece of the puzzle. You must include the floating tile type.

                const tileData = {
                    "Type":"AHDSRGraph",
                    "ProcessorId": "sampler1GainAHDSR",
                    "Index": -1
                };
                

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

                1 Reply Last reply Reply Quote 2
                • arcyA arcy referenced this topic on
                • First post
                  Last post

                24

                Online

                1.7k

                Users

                11.8k

                Topics

                102.5k

                Posts