HISE Logo Forum
    • Categories
    • Register
    • Login

    Creating a custom preset save button

    Scheduled Pinned Locked Moved Scripting
    28 Posts 3 Posters 351 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.
    • ChazroxC
      Chazrox @d.healey
      last edited by

      @d-healey Mac / Sequoia 15.2

      git hash: 22fc80083350aa3daa41e39ef6fc5090db505056

      1 Reply Last reply Reply Quote 0
      • ChazroxC
        Chazrox @d.healey
        last edited by Chazrox

        @d-healey what about this?

        Screenshot 2025-04-23 at 5.38.07 AM.png

        Typo?

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

          @Chazrox I think that's left over from his main project - the reason it doesn't give an error is because there is no component called "btnPreset" in the snippet.

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

          Tangerine_SoundsT 1 Reply Last reply Reply Quote 0
          • Tangerine_SoundsT
            Tangerine_Sounds @d.healey
            last edited by

            @d-healey said in Creating a custom preset save button:

            Can you make a video? I want to see it in action.

            HISE Crash.mov

            1 Reply Last reply Reply Quote 0
            • Tangerine_SoundsT
              Tangerine_Sounds @d.healey
              last edited by

              @d-healey said in Creating a custom preset save button:

              I think that's left over from his main project

              Yes, that was copied over by mistake. My original project had the Next and Previous preset buttons

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

                @Tangerine_Sounds Does it only happen with overwrite existing preset or with a new preset too? (I only tested with a new preset).

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

                Tangerine_SoundsT 1 Reply Last reply Reply Quote 0
                • Tangerine_SoundsT
                  Tangerine_Sounds @d.healey
                  last edited by

                  @d-healey I've tested both ways and it crashes just the same

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

                    @Tangerine_Sounds Do you always use a debug build running in xcode? That doesn't look like a crash, it's just hitting the assert but you should be able to continue.

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

                    Tangerine_SoundsT 1 Reply Last reply Reply Quote 0
                    • Tangerine_SoundsT
                      Tangerine_Sounds @d.healey
                      last edited by

                      @d-healey I didn't know there was another way. You're right, I am able to select Continue from the Xcode Debug menu. How can I build without the debug mode?

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

                        @Tangerine_Sounds Select build for profiling from the build menu, then you will find the executable in the HISE source code folder, somewhere in projects/standalone/Builds/MacOSX, I can't remember the full path.

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

                        Tangerine_SoundsT 1 Reply Last reply Reply Quote 0
                        • Tangerine_SoundsT
                          Tangerine_Sounds @d.healey
                          last edited by

                          @d-healey ah, I thought you had to launch HISE from the Run command in Xcode! That's why it was running debug. I found the executable file in : projects/standalone/Builds/MacOSX/build/Release

                          This solves the problem with the Save button. Many Thanks

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

                          16

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.4k

                          Posts