Forum
    • Categories
    • Register
    • Login

    Changing Sample Start Mod

    Scheduled Pinned Locked Moved General Questions
    8 Posts 2 Posters 60 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.
    • ulrikU
      ulrik
      last edited by ulrik

      I noticed that if I change the SampleStartMod in the sampler, and then save the project, the change will automatically be written into the loaded sample map.

      Sampler1: The sample map has unsaved changes so it will be embedded into the sampler.
      

      This will lead to this message when loading the project next time.

      Sampler1:! Loading embedded samplemaps is bad practice. Save the samplemap to a file instead.
      

      And as I understand it, that is a no no no...

      In my project I have a script that will change the SampleStartMod if meeting some conditions, and this will change as soon as those conditions is true.

      • What is the recommendation regarding this ...bad practice...?
      • What will happen when the project is compiled and the SampleStartMod is changed via the script?
      • Do I need to set a static SampleStartMod length and resave all samplemaps with that setting?

      Hise Develop branch
      MacOs 15.6.1, Xcode 16.2
      http://musikboden.se

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @ulrik
        last edited by

        @ulrik Also if changing Sample Start, it will be stored in the sample map when saving project

        Hise Develop branch
        MacOs 15.6.1, Xcode 16.2
        http://musikboden.se

        1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey
          last edited by

          Usually the sample start mod is fixed in the sample map and you control the position used with a modulator in the Sample Start chain.

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @David Healey
            last edited by

            @David-Healey said in Changing Sample Start Mod:

            Usually the sample start mod is fixed in the sample map and you control the position used with a modulator in the Sample Start chain.

            Hi David
            Yes I know that, what is your recommendations regarding this?
            Because as soon as I change the Sample Start, or the Sample Start Mod and save the project the changes will be applied to the sample map as well.
            So when I load the project again I'll get the

            Sampler1:! Loading embedded samplemaps is bad practice. Save the samplemap to a file instead.
            

            even though the samples for that map are saved as Monolith.

            Do I get that message because the sampler doesn't recognize which monolith it should use for that map or...?

            Even if I load that sample map after changing the Sample Start or Sample Start Mod, it will still load the right .ch1 file so why is it compiling about loading embedded samplemaps?
            Sorry if I don't understand the logic behind this

            Hise Develop branch
            MacOs 15.6.1, Xcode 16.2
            http://musikboden.se

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @ulrik
              last edited by

              @ulrik said in Changing Sample Start Mod:

              as soon as I change the Sample Start, or the Sample Start Mod

              If you change any sample map property then the sample map has changed, when you save the project it will save this as an embedded sample map unless you save the sample map xml.

              What's the reason for changing these properties dynamically>

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              ulrikU 2 Replies Last reply Reply Quote 0
              • ulrikU
                ulrik @David Healey
                last edited by

                @David-Healey said in Changing Sample Start Mod:

                What's the reason for changing these properties dynamically

                A feature for the user to adjust the sample start

                Do you have any thoughts about how to do it another way?

                Hise Develop branch
                MacOs 15.6.1, Xcode 16.2
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @David Healey
                  last edited by

                  @David-Healey said in Changing Sample Start Mod:

                  If you change any sample map property then the sample map has changed, when you save the project it will save this as an embedded sample map unless you save the sample map xml.

                  And it seems the "embedded map" is still referring to the right .cr1 file.

                  ...unless you save the sample map xml

                  Could you explain?
                  It is in fact saving the changes already when saving the project

                  Hise Develop branch
                  MacOs 15.6.1, Xcode 16.2
                  http://musikboden.se

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @ulrik
                    last edited by

                    @ulrik said in Changing Sample Start Mod:

                    And it seems the "embedded map" is still referring to the right .cr1 file.

                    Yes

                    @ulrik said in Changing Sample Start Mod:

                    Could you explain?

                    The changes are saved with the project but not with the sample map. But since your use case is for the user to be able to edit the start any way then this doesn't matter because they can't save the sample map once it's embedded.

                    @ulrik said in Changing Sample Start Mod:

                    A feature for the user to adjust the sample start

                    Do you want them to be able to set the start at any point of the sample? How many samples are we dealing with?

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

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

                    25

                    Online

                    2.2k

                    Users

                    13.3k

                    Topics

                    116.1k

                    Posts