HISE Logo Forum
    • Categories
    • Register
    • Login

    Expansions / Windows

    Scheduled Pinned Locked Moved General Questions
    28 Posts 2 Posters 1.4k 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 @DanH
      last edited by

      @DanH

      master.

      Try the develop or new_layout branch

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

      DanHD 2 Replies Last reply Reply Quote 0
      • DanHD
        DanH @d.healey
        last edited by

        @d-healey yup building now

        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
        https://dhplugins.com/ | https://dcbreaks.com/
        London, UK

        1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey well I rebuilt master and it worked so :man_shrugging: but thanks for prodding me to do this! :)

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

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

            @DanH Why are you using master?

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

            DanHD 2 Replies Last reply Reply Quote 0
            • DanHD
              DanH @d.healey
              last edited by

              @d-healey because some of the table things I want don't seem to work in NL (I haven't thoroughly checked as to why) and I'll need to rebuild a scriptnode effect and the modules have changed in SN so it currently doesn't work in either Dev / NL.

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              1 Reply Last reply Reply Quote 1
              • DanHD
                DanH @d.healey
                last edited by

                @d-healey for example, does this work for you in NL? Am I doing it wrong?

                HiseSnippet 1281.3oc2X8taaaCDmxNrKwatXEseXX.CPHexANKvNMwMACCSI9Ocdw1wn1so.6CszRz1LQhTUhJsNE8YXuB6AYOD6QYuAajhxRxItNYd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2b77wXl4fQQMxGCLFM9PdX8gCwl7D.tBrwy+3LqP5vupJ7eM7w1rAH6jDk30f.IX0LCeSj5jZO8XCJufA798a5.dt23A7zxtnA5JujCzsxstA5to0w2+JWM9eBesMyXm2UASnjkJJScI9pqEXM7vuJ.SMSs3pFxxhlIUUF+hwIBlogLOmHl4HK+JiV3Qh.kdC6iEDjhAKMSWA1ygw3iIzQyVr8.iVLla8PpPqzaR2wHeYm7PdvjsoZfOm4LEK+a0BqGG6F1CS6mgUBi+vhgAVp+gG+gQ9uC2W4EWwj4FWXKKdhqRjkQ2BainPYbY6sTTtvlcY++cytmvB3hm5h+8.dDw.PvNAN8DcSLwhnSoXa4PxZYjOmUxkjxgrDXpUnveJ9hTVVJqEor7TkeRhgCxzi8BS0f1xGRqFth3bSC+O6XMXaord7D1PXosJAbD8pdgooLE+shVey2msWBed3R3yNKgO6tD9TYI74QKgO6sPejiIbPfnEg5ImXgt0UL0ZwMYzxB9Kv7OJCc
                

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

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

                  @DanH said in Expansions / Windows:

                  does this work for you in NL

                  No.

                  Am I doing it wrong?

                  Not exactly... It appears that setting tables points via script is broken in the LAF branch. Have you made a bug report already?

                  You're creating a new reference to the LFO's table everytime the button is pressed, this is bad. You should only create the reference once, as a const, inside on init. However I don't think you even need that. Since the table on the UI is connected to the LFO's table, you should just be able to set the points of the table and it will update the LFO, no?

                  const var Table1 = Content.getComponent("Table1");
                  
                  inline function onRANDOMControl(component, value)
                  {
                          Table1.reset(0);        
                          Table1.setTablePoint(1, 1, 1, Math.random(), 0);
                          Table1.setTablePoint(1, 0, 5, Math.random(), 0);
                          Table1.addTablePoint(2, Math.random(), Math.random());     
                          Table1.addTablePoint(2, Math.random(), Math.random()); 
                          Table1.addTablePoint(2, Math.random(), Math.random()); 
                          Table1.addTablePoint(2, Math.random(), Math.random()); 
                          Table1.addTablePoint(2, Math.random(), Math.random()); 
                  };
                  
                  Content.getComponent("RANDOM").setControlCallback(onRANDOMControl);
                  

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

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @d.healey
                    last edited by DanH

                    @d-healey yes I get you, I had to do this to make it work though:

                    const var Table1 = Content.getComponent("Table1");
                    const var LFOModulator1 = Synth.getModulator("LFOModulator1");
                    const var Table1Random = Synth.getTableProcessor("LFOModulator1");
                    
                    
                    inline function onRANDOMControl(component, value)
                    {
                            //local Table1 = LFOModulator1.asTableProcessor();
                    
                            Table1Random.reset(0);        
                            Table1Random.setTablePoint(1, 1, 1, Math.random(), 0);
                            Table1Random.setTablePoint(1, 0, 5, Math.random(), 0);
                            Table1Random.addTablePoint(2, Math.random(), Math.random());     
                            Table1Random.addTablePoint(2, Math.random(), Math.random()); 
                            Table1Random.addTablePoint(2, Math.random(), Math.random()); 
                            Table1Random.addTablePoint(2, Math.random(), Math.random()); 
                            Table1Random.addTablePoint(2, Math.random(), Math.random()); 
                    };
                    
                    Content.getComponent("RANDOM").setControlCallback(onRANDOMControl);
                    

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

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

                    37

                    Online

                    1.9k

                    Users

                    12.3k

                    Topics

                    107.3k

                    Posts