HISE Logo Forum
    • Categories
    • Register
    • Login

    save preset

    Scheduled Pinned Locked Moved General Questions
    34 Posts 2 Posters 1.3k 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.
    • Y
      yall
      last edited by

      Engine.saveUserPreset(value);
      

      hello, small problem with this line. when I put it in my button reminder to save a preset, it creates a new preset for me. how can I save my new preset on top of the one currently loaded?

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yall @yall
        last edited by

        @yall

        Engine.saveUserPreset(Engine.getCurrentUserPresetName());
        

        I just tried this and against all odds, it works. it just asks me if I want to overwrite the current preset and it works ;)

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

          @yall said in save preset:

          against all odds

          :cat_face_with_tears_of_joy:

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

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yall @d.healey
            last edited by

            @d-healey I admit I tried without thinking too much lol

            Y 1 Reply Last reply Reply Quote 0
            • Y
              yall @yall
              last edited by

              @yall

               FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets/Bank/category").show();
              

              as long as you are there dear @d-healey This line allows me to open the preset folder. but I would like it to go directly in the preset folder and not in the before folder. I don't know if you understand ;)

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

                @yall

                FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets").show();

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

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  yall @d.healey
                  last edited by

                  @d-healey said in save preset:

                  FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets").show();

                  yes that's what I did but it doesn't open the file. you must then open manually once the window is displayed

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

                    @yall You mean you want to open a .preset file? In what application?

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

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yall @d.healey
                      last edited by

                      @d-healey
                      no I just want that if I click on my button, it opens the preset folder (the preset folder already open).

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

                        @yall said in save preset:

                        opens the preset folder

                        That's what the code I posted does, it opens the User Presets folder. I think there is something lost in communication here as I don't understand what you want.

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

                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          yall @d.healey
                          last edited by

                          @d-healey yes the traducino is not great ;) in fact the line that I posted to you is similar to yours. it SHOWS the preset folder. then you have to click manually to OPEN the preset folder. What I would like is that if I click on the button, it directly opens the preset folder (and I see my list of presets without needing to manually open the folder)

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

                            @yall said in save preset:

                            it SHOWS the preset folder.

                            @yall said in save preset:

                            then you have to click manually to OPEN the preset folder

                            @yall said in save preset:

                            What I would like is that if I click on the button, it directly opens the preset folder

                            I'm still not clearer. Are you saying you want it to open a specific bank/category sub folder within the presets folder?

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

                            Y 1 Reply Last reply Reply Quote 0
                            • Y
                              yall @d.healey
                              last edited by

                              @d-healey when you manually go to the final preset folder. you see your list 1.preset, 2.preset 3.preset. These files are in the category folder. the command line does not open the category folder. it opens the windows window where you can see the category folder. then you manually click on the category folder to access your presets. What I want is for this line to open the entire category folder

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

                                @yall Your original code will do that. Does your app data/user presets folder contain the bank and category folders?

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

                                Y 1 Reply Last reply Reply Quote 0
                                • Y
                                  yall @d.healey
                                  last edited by

                                  @d-healey by default it has users preset / bank / category.
                                  precisely even my code does not open the category folder. he opens the bank folder and I see the category folder. you have to open the category folder manually

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

                                    @yall In your App Data folder on your computer (not your project folder). Do you have a folder called "User Presets", and in that folder do you have a folder called "Bank" and in that folder do you have a folder called "category" (lower case)?

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

                                    Y 1 Reply Last reply Reply Quote 0
                                    • Y
                                      yall @d.healey
                                      last edited by

                                      @d-healey oui

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

                                        @yall Can you show me a screenshot or video of what you see?

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

                                        Y 1 Reply Last reply Reply Quote 0
                                        • Y
                                          yall @d.healey
                                          last edited by

                                          @d-healey https://ibb.co/qB6vp37
                                          I can see the category folder.

                                          FileSystem.getFolder(FileSystem.AppData).getChildFile("User Presets/Bank/category/").show();
                                          

                                          this line opens the bank folder and therefore shows the category folder. what I would like would be / userspreset/bank/category / OPEN FOLDER ^^

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

                                            @yall what is the full path? I only see part of it in your image

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

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

                                            54

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts