HISE Logo Forum
    • Categories
    • Register
    • Login

    Q: Different Sample start/end of the same sample for different mapping

    Scheduled Pinned Locked Moved General Questions
    10 Posts 4 Posters 2.2k 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.
    • R
      RCJacH
      last edited by

      I have noticed that if I change the sample start/end position of a wave sample, it is changed for every occurrence of that wave sample. Is there a way to have different mapping (or different key assignment) to have different sample start/end?

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

        I actually brought this up already - http://178.62.82.76:4567/topic/152/adjusting-sample-start-position-in-one-sample-affects-another - no in-built solution yet but will be in the future. For release samples I'm exporting a separate set of samples.

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

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          The problem is that when you duplicate a sample zone (or add a sample multiple times) it will internally share a reference to save memory.

          I could add an option to deactivate this feature globally (for an instrument) so you can use the same sample with different sample start values. However this means that you have a higher memory usage when using the same sample multiple times. There is a third option which is to add the ability of marking samples as "unique", so they won't share a reference, but this is a bit harder to implement.

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

            Would it be possible to have a single reference to the sample but add a way for a sample to have multiple start positions and add a value box to allow you to select which start position should be used? This could also be specified via script. It would obviously still need to buffer all start positions that are used.

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

            1 Reply Last reply Reply Quote 0
            • LevitanusL
              Levitanus
              last edited by

              Can't find API function to set sample start with script. Is it possible?
              I'm using loong sus sample and several attacks, and i would to play attacks as RR, and randomly set sample start for sus sample (some times several sus samples have to share one random value).
              So, sus sample will always be 'alive'
              Is it possible?

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

                Yes it's possible. You need to add a modulator to the sample start and then with your script you can control the value of the modulator.

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

                1 Reply Last reply Reply Quote 1
                • LevitanusL
                  Levitanus
                  last edited by

                  Do you mean the constant?
                  e.g. my random value have to be between 0 and 1?

                  1 Reply Last reply Reply Quote 0
                  • LevitanusL
                    Levitanus
                    last edited by

                    tried to play with constand modulator by hands and nothing changed, it seems... Sample starts from one point

                    1 Reply Last reply Reply Quote 0
                    • LevitanusL
                      Levitanus
                      last edited by

                      aah! samle mod should be set) awesome!

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

                        You need to apply some sample start mod (s.mod) time to the samples - just like with Kontakt. If you want to use the whole sample then just set this to the full length of the sample but then the whole sample will be loaded into RAM.

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

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

                        17

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.7k

                        Posts