HISE Logo Forum
    • Categories
    • Register
    • Login

    get callback from the presetbrowser?

    Scheduled Pinned Locked Moved Scripting
    14 Posts 5 Posters 447 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.
    • ulrikU
      ulrik
      last edited by

      I'm trying to log the events when loading a preset in the default preset browser but I can't get it to work.
      How do I do this?

      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 Did you enable debug mode in project preferences?

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

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

          @d-healey I only want to get a callback from the preset browser when loading a preset, maybe I explained myself bad... :)

          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 There is no callback, you can add a button to the interface and use its callback.

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

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

              @d-healey ok, I understand, thank you David!

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

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

                Having a callback before and after preset loading might be a valid request (it would also give a solution to @MikeB 's issue in the other thread).

                d.healeyD MikeBM ulrikU Matt_SFM 6 Replies Last reply Reply Quote 5
                • d.healeyD
                  d.healey @Christoph Hart
                  last edited by

                  @Christoph-Hart Yes please!

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

                  1 Reply Last reply Reply Quote 1
                  • MikeBM
                    MikeB @Christoph Hart
                    last edited by

                    @Christoph-Hart yes Please Please 🙏 🙏 🙏 🙏

                    "One hour of trial and error can save 10 minutes of reading the manual."
                    "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                    HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

                    1 Reply Last reply Reply Quote 1
                    • ulrikU
                      ulrik @Christoph Hart
                      last edited by

                      @Christoph-Hart said in get callback from the presetbrowser?:

                      Having a callback before and after preset loading might be a valid request (it would also give a solution to @MikeB 's issue in the other thread).

                      Yes, that's why I asked, I think it could be useful :)

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

                      1 Reply Last reply Reply Quote 2
                      • Matt_SFM
                        Matt_SF @Christoph Hart
                        last edited by

                        @Christoph-Hart yes please +1 😁

                        Develop branch
                        Win10 & VS17 / Ventura & Xcode 14. 3

                        1 Reply Last reply Reply Quote 0
                        • MikeBM
                          MikeB @Christoph Hart
                          last edited by

                          @Christoph-Hart said in get callback from the presetbrowser?:

                          Having a callback before and after preset loading might be a valid request (it would also give a solution to @MikeB 's issue in the other thread).

                          @Christoph-Hart You found a solution here?

                          "One hour of trial and error can save 10 minutes of reading the manual."
                          "It's easier to hit the developer with feature requests than to spend 10 minutes reading the manual. :-)))"
                          HISE Develop - Mac Pro 5.1, OS X 10.14.6, Projucer 6.02, Xcode 10.3

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

                            @christoph-hart said in get callback from the presetbrowser?:

                            Having a callback before and after preset loading might be a valid request (it would also give a solution to @MikeB 's issue in the other thread).

                            I know you have a lot to do but I just wonder if there is any progress on this? :)

                            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 This was added, you need to create a user preset handler and from there declare the callbacks

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

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

                                @d-healey Ah, yes I remember now, thank you!

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

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

                                45

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts