HISE Logo Forum
    • Categories
    • Register
    • Login

    Creating a custom preset save button

    Scheduled Pinned Locked Moved Scripting
    28 Posts 3 Posters 3.9k 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 @Tangerine_Sounds
      last edited by d.healey

      It's not crashing here, which commit of HISE are you using? Is it crashing in HISE or just the compiled project?

      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
      • ChazroxC
        Chazrox @Tangerine_Sounds
        last edited by

        @Tangerine_Sounds Snippet works here.

        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:

          It's not crashing here, which commit of HISE are you using? Is it crashing in HISE or just the compiled project?

          I'm using the latest Develop Branch. It's crashing HISE completely so I have to rebuild it in XCode

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

            @Tangerine_Sounds said in Creating a custom preset save button:

            It's crashing HISE completely so I have to rebuild it in XCode

            The snippet you shared above is crashing in a fresh project?

            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 yes it is

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

                @Tangerine_Sounds Can you test on another system?

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

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

                  @d-healey will try my old Mac mini tomorrow

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

                    @d-healey I’m still having the same issue on my Mac mini.

                    It’s not a huge issue. I can leave the button in my project and just not use it during development and testing. I can still save presets in the browser at least

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

                      @Tangerine_Sounds Can you make a video? I want to see it in action. @Chazrox Were you testing on Windows or Mac?

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

                      ChazroxC Tangerine_SoundsT 3 Replies Last reply Reply Quote 0
                      • 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

                                            30

                                            Online

                                            1.8k

                                            Users

                                            12.2k

                                            Topics

                                            106.4k

                                            Posts