HISE Logo Forum
    • Categories
    • Register
    • Login

    Prevent Plug-In broadcasting Undo info to DAW

    Scheduled Pinned Locked Moved General Questions
    18 Posts 8 Posters 794 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.
    • DanHD
      DanH
      last edited by DanH

      Does anyone know how to prevent a Hise plugin from creating data in a DAW's undo history? Maybe something in the source code / Juce codebase...

      If you change a knob's value, for example, it will create a string of Undo info.

      Similarly if I use a macro to control a knob on the UI it creates continuous Undo info to the DAW.

      This makes it really unnatural to use the DAW as often users will use the Undo function for arrangements etc - not really for undoing a UI setting o a specific plugin.

      Thanks!

      PS - also 'touch' automation mode not working in Logic... will test other DAWs. It creates an automation lane on the right automation channel but doesn't record any automation info...

      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 d.healey

        @DanH Which DAWs? Do you have a screenshot of the undo history?

        PS - also 'touch' automation mode not working in Logic... will test other DAWs. It creates an automation lane on the right automation channel but doesn't record any automation info...

        Did you enable the isPluginParameter property?

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

        DanHD Christoph HartC lalalandsynthL 3 Replies Last reply Reply Quote 0
        • DanHD
          DanH @d.healey
          last edited by

          @d-healey yup - as you can see it's continuous and overwhelming.

          Screenshot 2023-02-27 at 12.36.21.png

          All knobs I want for automation correctly set up and labelled etc.

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

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

            When you have a plugin parameter it might be stored in the undo history of a DAW so if you don‘t want that, don‘t make it a plugin parameter, otherwise there‘s no option…

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

              @Christoph-Hart really? Nothing that can be tweaked even in Juce?

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

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @DanH
                last edited by

                @DanH if you think about it - the DAW saves the state of the plugin - for next time you open it, so the DAW needs to know the state of params you want it to save, and when you change a param value it will need to save that value...

                HISE Development for hire.
                www.channelrobot.com

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

                  It has nothing to do with JUCE but it shouldn‘t be a problem. Why is it a problem?

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

                    @Christoph-Hart because if you're using macros with modulation it completely takes over the undo list in your daw.

                    So when you're editing your arrange or notes or whatever and you want to undo an action, you can't because there's hundreds of undo data points created by the macro controlling a ui knob, and it just carries on creating more and more until the macro connection is removed.

                    Even if you slowly move a knob you get a long list of undo points. I'm not sure how helpful even that is.

                    Would be great to be able to disable this somehow but sounds unlikely...

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

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

                      @d-healey I dont think touch automation works right in any DAW for me , the resulting automation is a jagged , jittery curve. Unless I am doing something wrong ?

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

                      Dan KorneffD 1 Reply Last reply Reply Quote 1
                      • Dan KorneffD
                        Dan Korneff @lalalandsynth
                        last edited by

                        @lalalandsynth same here. I always draw in my automation when mixing so it never bothered me, but a lot of my users like to use touch automation with poor results

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        1 Reply Last reply Reply Quote 1
                        • ?
                          A Former User
                          last edited by

                          oh dear i have parameter/macro modulation as well 😱

                          clevername27C 1 Reply Last reply Reply Quote 0
                          • clevername27C
                            clevername27 @A Former User
                            last edited by

                            @iamlamprey I'm wondering if a solution here is to do it manually, instead of through the Properties editor. In the widget callback, start a timer (i.e., when a user begins turning a a knob). In the time slice, check to see when the user stopped turning the knob. Then, manually report the start and end state for the undo history.

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

                              Yeah that‘s a valid point. I‘ll try to skip the Daw parameter notification for modulated parameters.

                              DanHD 3 Replies Last reply Reply Quote 3
                              • DanHD
                                DanH @Christoph Hart
                                last edited by

                                @Christoph-Hart 🙏 🙏 🙏 🙏 🙏

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

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

                                  @Christoph-Hart Did you have a go at this yet? Couldn't see anything in the latest commit... 🤓

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

                                  1 Reply Last reply Reply Quote -1
                                  • DanHD
                                    DanH @Christoph Hart
                                    last edited by

                                    @Christoph-Hart Just checking if this is still on your radar or not? :)

                                    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 Ah sorry, that slipped through the cracks. I've fixed it (it now deactivates the plugin parameter notification as soon as a knob is automated by either a macro modulation source or assigned to a MIDI controller).

                                      As soon as Github is online again, I'll push it LOL

                                      Link Preview Image
                                      GitHub Status

                                      Welcome to GitHub's home for real-time and historical data on system performance.

                                      favicon

                                      (www.githubstatus.com)

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

                                        @Christoph-Hart oh dear!!

                                        Thanks very much, hugely appreciated :)

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

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

                                        52

                                        Online

                                        1.7k

                                        Users

                                        11.7k

                                        Topics

                                        102.1k

                                        Posts