HISE Logo Forum
    • Categories
    • Register
    • Login

    How should I save my Sampler Presets and how can I access them later?

    Scheduled Pinned Locked Moved Presets / Scripts / Ideas
    28 Posts 2 Posters 1.5k 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 @treynterrio
      last edited by

      @treynterrio Looks good to me

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

      T 1 Reply Last reply Reply Quote 0
      • T
        treynterrio @d.healey
        last edited by

        @d-healey when I paste this snippet into my code I always get a error with this Line:

        	Sampler1.asSampler().loadSampleMap(sampleMaps[value-1]);
        

        but I don't understand why I thinks asSampler is the problem

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

          @treynterrio What's the error?

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

          T 1 Reply Last reply Reply Quote 0
          • T
            treynterrio @d.healey
            last edited by

            @d-healey function not found

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

              @treynterrio I don't see an error when I load the snippet you posted.

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

              T 1 Reply Last reply Reply Quote 0
              • T
                treynterrio @d.healey
                last edited by

                @d-healey yeah but when I paste this to my code I'm already working on I get this error

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

                  @treynterrio You need to post the code you are using

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

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    treynterrio @d.healey
                    last edited by

                    @d-healey ```
                    code_text

                    HiseSnippet 1928.3oc2Y0saabiElikmzHkzflhhh8hdw.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XaoequDrUElP+DZHYbentruYJ83qjBU7HW7svfI+Ho.tdZw8A8dNObWv+HbGkbZmm9+kP96yg05+zgvG.IfBDEhX.klHl2VhAvoWIKaxaDEfEGsxIYPCBn3M3ZsHX+VIiApBenDYkLu8CZBzZeJaD9c6GPdBO86OFk+LzFwvxS35OgYo8CIorfRKAy8S+GNz1dIfFRT7Rm7B1RoOFvRIOv0RvcDchAdPwKQWd06+QM8VewynmR1bXnO2Eb.n0+FI3pud9W6lbYbLDeSsDvVDZinps915NYuliscSvwE.k6+ZWWzwb+VDR45zdFzY4YPmUlAcVcFz4AyfNObFz4itRcPlVOdnRFjTaADzcqj8iVakserB4WAjB4SdD
                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @treynterrio
                      last edited by

                      @treynterrio Variables are case sensitive, you need to always spell them exactly the same way.

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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        treynterrio @d.healey
                        last edited by

                        @d-healey can you give me an example for this case?

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

                          @treynterrio If you have a variable called sampler1 then trying to use Sampler1 somewhere else won't work because you don't have a variable called Sampler1.

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

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            treynterrio @d.healey
                            last edited by

                            @d-healey that means I've to paste the inline function of the combobox to the inline function of the Sampler1 that I'm already using?

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

                              @treynterrio I don't know what you mean.

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

                              T 1 Reply Last reply Reply Quote 0
                              • T
                                treynterrio @d.healey
                                last edited by

                                @d-healey Since I have already used sample1 it doesn't work properly? So do I have to add the part to my existing Sampler1 function?

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

                                  @treynterrio I think you are misunderstanding.

                                  You have a variable called sampler1.

                                  You are trying to reference it with Sampler1.asSampler(). That won't work because you have spelt it differently. You need to spell it the same way, sampler1.asSampler(). Or you need to change the name of your variable to Sampler1.

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

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    treynterrio @d.healey
                                    last edited by treynterrio

                                    @d-healey Ok this line was the problem ```
                                    code_text

                                    const var Sampler1 = Synth.getChildSynth("Sampler1");
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      treynterrio @treynterrio
                                      last edited by treynterrio

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      16

                                      Online

                                      1.7k

                                      Users

                                      11.9k

                                      Topics

                                      103.2k

                                      Posts