HISE Logo Forum
    • Categories
    • Register
    • Login

    Macros - Clear All?

    Scheduled Pinned Locked Moved General Questions
    28 Posts 3 Posters 1.1k 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 d.healey

      @DanH said in Macros - Clear All?:

      synthChain->clearData(index);

      So now you need to dig deeper and find out what the clearData function does.

      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

        @d-healey Hmmm... need a hint, where to look perhaps? To me it looks like it clears the data collected in the lines above.

        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 Find the function definition and see what it's doing

          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

            @d-healey I'm getting confused. Is it defined in the the file, or is it a more general c++ thing?

            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 clearData is a function, so somewhere in the HISE sourcecode there must be a place where that function is defined, it will look something like (but not exactly the same as):

              function clearData()
              {
              }
              

              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

                @d-healey gotcha

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

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

                  @d-healey searched the SC for clearData... Nothing pertinent coming up :/

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

                  ulrikU 1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik @DanH
                    last edited by

                    @DanH is it this you're looking for?

                    Skärmavbild 2021-07-15 kl. 13.13.56.png

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

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

                      @ulrik Thanks, I honestly don't know :face_with_tears_of_joy:

                      Does it define the function of clearData

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

                      ulrikU 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @DanH
                        last edited by

                        @DanH Yes I think this is where the function is defined, better ask David :)

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                          @ulrik Looks like a function definition to me, of course there could be more than one clearData function so make sure it's in the right class (what ever object type synthChain is).

                          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

                            @d-healey it never ends! :face_with_tears_of_joy:

                            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 :) Yep

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

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

                              29

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.7k

                              Posts