HISE Logo Forum
    • Categories
    • Register
    • Login

    Automation slots?

    Scheduled Pinned Locked Moved General Questions
    8 Posts 4 Posters 468 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.
    • lalalandsynthL
      lalalandsynth
      last edited by

      Is it possible, instead of having automation parameters , you could right click a knob, popup, assign to automation slot ?

      Obviously this would need some scripting, just wondering if its possible?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

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

        @lalalandsynth This isn't possible. Parameter automation can't be dynamically assigned, you need to use MIDI learn in this case.

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

        lalalandsynthL 1 Reply Last reply Reply Quote 0
        • lalalandsynthL
          lalalandsynth @d.healey
          last edited by

          @d-healey might be a worthwhile addition.
          For example, lets say you can dynamically add any effects etc , instead of flooding the parameter list with all possible modules, just have 20 slots and dynamically assign them.

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            @lalalandsynth

            might be a worthwhile addition.

            It's not a HISE limitation as far as I'm aware, it's a limitation of DAWs and plugin formats. I asked for the same thing in another thread.

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

            lalalandsynthL 1 Reply Last reply Reply Quote 0
            • lalalandsynthL
              lalalandsynth @d.healey
              last edited by

              @d-healey you can do this in Phaseplant synth

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

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

                @lalalandsynth Ah, well in that case it should be possible with HISE.

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

                1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @lalalandsynth
                  last edited by

                  @lalalandsynth Omnisphere too. Doesn't Kontakt do something similar?

                  Also, what is this for?

                  Screenshot 2023-01-04 at 12.55.10.png

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

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @DanH
                    last edited by

                    @DanH Actually this is precisely for that use case of having a fixed amount of automation slots and then reassigning them dynamically.

                    The documentation of the UserPresetHandler class has some information on how to use it, but here's one example:

                    const var uph = Engine.createUserPresetHandler();
                    
                    // We need to implement our own preset data model when we start using
                    // custom automation slots (because then the connection between UI element and its value is
                    // not consistent anymore)
                    function onPresetLoad(obj) {}
                    function onPresetSave() { return {}; }
                    uph.setUseCustomUserPresetModel(onPresetLoad, onPresetSave, false);
                    
                    // We'll define the automation model to send their values to the global cable by default
                    const var data = [{
                    	"ID": "Slot 1",
                    	"connections": [
                    	{
                    		"cableId": "Slot 1"
                    	}]
                    }];
                    
                    uph.setCustomAutomation(data);
                    
                    // We can also attach callbacks directly to automation events
                    inline function onAutomation(index, value)
                    {
                    	Console.print(trace({"index": index, "value": value}));
                    }
                    
                    uph.attachAutomationCallback("Slot 1", onAutomation, true);
                    

                    However it's a fairly advanced concept as it requires you to dissolve the connection between UI elements and their persistent value and implement a custom user preset model so it might be overkill for that simple use case.

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

                    45

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    102.2k

                    Posts