HISE Logo Forum
    • Categories
    • Register
    • Login

    Saving custom LFO shapes for user presets?

    Scheduled Pinned Locked Moved General Questions
    14 Posts 7 Posters 769 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
      last edited by d.healey

      I think currently the only way is draw in the points with scripting so you'd need to save them in an array and recall it when the preset is loaded. However I have a suggestion for @Christoph-Hart which would make this simpler...

      With regular modulation tables it's possible to press CTRL+C to copy an encoded string that represents the table and can be restored through scripting but this isn't possible for the LFO custom shape table. So my suggestion is to implement this same facility for LFOs too.

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

      SteveRiggsS lalalandsynthL 2 Replies Last reply Reply Quote 2
      • SteveRiggsS
        SteveRiggs @d.healey
        last edited by

        @d-healey Good idea. Cheers dude.

        www.anarchyaudioworx.com

        www.facebook.com/groups/audioworx/

        1 Reply Last reply Reply Quote 0
        • lalalandsynthL
          lalalandsynth @d.healey
          last edited by

          @d-healey Have any changes been made to this or your suggestion implemented ?
          I find myself needing to be able to save the shapes.

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            @lalalandsynth Yes. There is an easy way. Click the table so it has the green box around it and press ctrl+c. Then paste into your script, you'll get a base 64 encoded string that you can restore with the restoreFromBase64 function.

            72c92b70-d943-4d11-bcf3-265dc13358f7-image.png

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

            lalalandsynthL 1 Reply Last reply Reply Quote 2
            • lalalandsynthL
              lalalandsynth @d.healey
              last edited by

              @d-healey And could this be implemented so the user could save shapes , I assume so.

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              d.healeyD orangeO 2 Replies Last reply Reply Quote 0
              • d.healeyD
                d.healey @lalalandsynth
                last edited by

                @lalalandsynth I think you'd need to use the exportAsBase64 for that.

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

                1 Reply Last reply Reply Quote 1
                • orangeO
                  orange @lalalandsynth
                  last edited by orange

                  @lalalandsynth

                  Just create a folder, that is named as "LFO" under the "UserPresets" folder. Then voila ;)

                  HiseSnippet 2520.3oc0ZstbaabEFPRvVDINwt0SSFOSmAkS9ATsJCorrSZcRJknoR0DIKVSYEWeYTf.VRhHPrvXWpKoSlwuAc5iS+meD5iPeD5eyuTO6haKtPPHNxdlxLQiwtm8b9Nm8aO6YWfd9XSDgf8kjqs+4dHI4OTo+4tzQcFYX6Js8ijj+HkcMHTjuVPSadtmAgfrjjkW7aYMHWaII9u+6edSCGCWSTRSRRGfsMQ6XO1llzZu1emsiyVFVn8sGKH85s21D61A6fm.3YQklRdFlGaLD8XClXKnHIestV1TreepAEQjjWZSr048GgO0MP9CrI1G4fXOzRpOnnfl2B6XwPLqUoNircr5E42DIIYkdIQgEChB2VYWaK631ShF2j2gVxHDiGxKjFdKlBdsDgWSA3U.jjEfzRAP5VJ8M8s8nI8vvyGnrsKL4Lv.B6hPIPVoEfg0ACR3RaL13XzV9vCwiP+KZ1bUs0a1bkGppp94e9uS6qE9os016re2mzRams1Sq+FGzUq2S51u69oDRUElxHTsSL70nFfyECulZesFmJ0XHhteptzqGp5CAUWGLdFc7HCpAL5L5qA5LOrOcCxlFDzCVWO.0t.2f.7DDLmfHH5l93SI.a8uqpA+RTLXoCCj3vdtNLvEEW.30AO1C6BOnWOib.5z3Zp.0cfM5TFhJWYwRwbTlRR0XCBa.tTerSGCGmi.BuN1MkHgcGN5BvAigE.YNQ2ub7jSZQbkqyoiubhNabZbBJXDy.gIxkBaIMWBpRDZl3IPt87n1PyUgQDI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wvm0+V9nWOA4ZJz+xsYTksSXZs+Gs+dHs3.r+3vSLEJ4m1dGzPHRHp68QPRu9m6ZJxJ6OFioircGll.d616fwdccYmUwRTI8FYPXW0AuPNA0.pcebvWTCT9j4whc1YBghGGAzqpyp2mh73GjT9EJOX8FI8yj+d6c077kI4WqxoIKTY1L6CSIlcvH0Wd17640eLDGyW++.DW5tfKVocAuxw67ui3UCTdBdBExCrqA02FpuR4wSF2G19wDAHwEpqmcEiPoPrgxetYzMd0G4Zwe.Nx1Egc1h8rbXmsh578hMFaX5iOzL3tpXK7Vl2B327ZhkqorK6YsVw2amRyFMkFCatcnoIKb+Gf3SwiYs4XL2aNFy5ywXt+bLlGLGi4Kliw7kkNFVcEaLA1hHXoHzPutAY1ki2ARdQo+GPqfOeQ
                  

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  lalalandsynthL NatanN musictopM 3 Replies Last reply Reply Quote 6
                  • lalalandsynthL
                    lalalandsynth @orange
                    last edited by

                    @orange Sweeheet!

                    https://lalalandaudio.com/

                    https://lalalandsynth.com/

                    https://www.facebook.com/lalalandsynth

                    https://www.facebook.com/lalalandsynth

                    1 Reply Last reply Reply Quote 0
                    • NatanN
                      Natan @orange
                      last edited by

                      @orange said in Saving custom LFO shapes for user presets?:

                      @lalalandsynth

                      Just create a folder, that is named as "LFO" under the "UserPresets" folder. Then voila ;)

                      HiseSnippet 2520.3oc0ZstbaabEFPRvVDINwt0SSFOSmAkS9ATsJCorrSZcRJknoR0DIKVSYEWeYTf.VRhHPrvXWpKoSlwuAc5iS+meD5iPeD5eyuTO6haKtPPHNxdlxLQiwtm8b9Nm8aO6YWfd9XSDgf8kjqs+4dHI4OTo+4tzQcFYX6Js8ijj+HkcMHTjuVPSadtmAgfrjjkW7aYMHWaII9u+6edSCGCWSTRSRRGfsMQ6XO1llzZu1emsiyVFVn8sGKH85s21D61A6fm.3YQklRdFlGaLD8XClXKnHIestV1TreepAEQjjWZSr048GgO0MP9CrI1G4fXOzRp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44Mu4uV.uISBkpg6okUeZToHn+wg4wzBFvUD0e1tP9LL2VI+kgLsjLu4EyLICjyKMO3fCdVQIYhZVLIyhB38CRi2cLNJDuepRw2Nf.la+TwP9WkeoYg9bZO6sCKH9JtX3W9ke4ewiOv7YRqPCb2Z.reYe54LG6ZP4dNVRAy6ehRgqdSsJY4Jts+YhoeNWjbGXqqwyslk5ueECGkvkV9RTTg.S5wEAxkUBj7pBl4esk2TYWrE6BXR+VTYu53vN.Mk5UWxd8jtDa54huZ4qrWsZUg3sT5YCGfuXLtPAXDpS6cAFCegz2Po6fAv4FS.3RJa8r2Mu8YQyubf4uix25fOxvIIPAqv.jfBdKz+1vt0h6WKVfVk7IC7uq5mLfWk+jAjWrrOQfVy4mHvRuq9DAVpZSRkCupxo+04llHuGW4k5iZ3lAvTgkTgiszUmOSTsosG1wvm0+V9nWOA4ZJz+xsYTksSXZs+Gs+dHs3.r+3vSLEJ4m1dGzPHRHp68QPRu9m6ZJxJ6OFioircGll.d616fwdccYmUwRTI8FYPXW0AuPNA0.pcebvWTCT9j4whc1YBghGGAzqpyp2mh73GjT9EJOX8FI8yj+d6c077kI4WqxoIKTY1L6CSIlcvH0Wd17640eLDGyW++.DW5tfKVocAuxw67ui3UCTdBdBExCrqA02FpuR4wSF2G19wDAHwEpqmcEiPoPrgxetYzMd0G4Zwe.Nx1Egc1h8rbXmsh578hMFaX5iOzL3tpXK7Vl2B327ZhkqorK6YsVw2amRyFMkFCatcnoIKb+Gf3SwiYs4XL2aNFy5ywXt+bLlGLGi4Kliw7kkNFVcEaLA1hHXoHzPutAY1ki2ARdQo+GPqfOeQ
                      

                      Abi, Any chance we could include LFO folder into the plugin, so No Extra Installation step?

                      orangeO 1 Reply Last reply Reply Quote 0
                      • orangeO
                        orange @Natan
                        last edited by

                        @Natan AFAIK, the file embedding is not possible but you can include the base64 codes of all of the presets inside the plugin. Then write an check function that can create the presets during the initialization with that defined base64 codes if the dedicated files are not there.

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

                        Matt_SFM NatanN 2 Replies Last reply Reply Quote 3
                        • Matt_SFM
                          Matt_SF @orange
                          last edited by

                          @orange for the life of me I'd never have thought of doing it like this 😂
                          Good idea!

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

                          1 Reply Last reply Reply Quote 1
                          • musictopM
                            musictop @orange
                            last edited by

                            @orange Thank you very much for this one! 👍

                            my website: https://musictop69.wixsite.com/ilirbajri
                            https://musictop69.wixsite.com/creatools
                            https://musictop69.wixsite.com/orchestools

                            1 Reply Last reply Reply Quote 1
                            • NatanN
                              Natan @orange
                              last edited by

                              @orange said in Saving custom LFO shapes for user presets?:

                              @Natan AFAIK, the file embedding is not possible but you can include the base64 codes of all of the presets inside the plugin. Then write an check function that can create the presets during the initialization with that defined base64 codes if the dedicated files are not there.

                              Sounds Hard to Me :/

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

                              31

                              Online

                              1.7k

                              Users

                              11.9k

                              Topics

                              103.7k

                              Posts