HISE Logo Forum
    • Categories
    • Register
    • Login

    SampleMap format question...

    Scheduled Pinned Locked Moved General Questions
    8 Posts 3 Posters 322 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.
    • LindonL
      Lindon
      last edited by

      So whats

      Duplicate ="1"

      in the sample map doing?

      I ask because I have some round robins to do for a client. He's used the old Kontakt trick of RR groups that use the same samples but offset up one semi-tone(and tuned down) and down 1 semi tone(and tuned up).

      So its 3 different rr groups - but they are all actually using the same wav files - so I'm hoping that Duplicate = "n" is a way to tell HISE to only copy the wav data into the Ch1 file once.

      HISE Development for hire.
      www.channelrobot.com

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

        Some guy called Lindon asked about this:
        https://forum.hise.audio/topic/2583/hlac-compression-for-ch1-files-not-working-out-so-well/2

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey said in SampleMap format question...:

          Some guy called Lindon asked about this:
          https://forum.hise.audio/topic/2583/hlac-compression-for-ch1-files-not-working-out-so-well/2

          Yeah but that guy never got a real answer to the question I'm asking:

          If theres only 1 of a wav file used in a sample map what should Duplicates = ?

          If theres two places the same wav file is used , what should Duplicates = ?

          If theres three places what should duplicates = ?

          -- can you tell I'm writing sample maps in python now?

          HISE Development for hire.
          www.channelrobot.com

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

            I think it's a boolean value. I also just noticed this function

            bbfe7fc0-7f42-4ffe-a012-048c163e37a2-image.png

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

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @d.healey
              last edited by

              @d-healey said in SampleMap format question...:

              I also just noticed this function

              Nice, I forgot about this function. I think a guy named Dave suggested it back then. Just call it and don't bother about the duplicate flag, it'll then get ignored AFAIK.

              LindonL 1 Reply Last reply Reply Quote 1
              • LindonL
                Lindon @Christoph Hart
                last edited by

                @Christoph-Hart said in SampleMap format question...:

                @d-healey said in SampleMap format question...:

                I also just noticed this function

                Nice, I forgot about this function. I think a guy named Dave suggested it back then. Just call it and don't bother about the duplicate flag, it'll then get ignored AFAIK.

                yeah -but... Im really looking at how the ch1 file gets built for a RR SampleMap where there is actually only on set of samples - they've just been moved and retuned by the map itself...I wan to build the ch1 files with ONLY one copy of the wav files in it.... so if I set Duplicates to what? to make this happen??

                HISE Development for hire.
                www.channelrobot.com

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

                  My best guess is that if you set the second (and third) occurence of this sample to 1 before export it will write the wave file just once (you can verify this by checking the file size of the exported ch1), then when you load the map call setAllowDuplicateSamples() and it will create distinct samples from the CH1.

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Christoph Hart
                    last edited by

                    @Christoph-Hart Ok thanks.

                    HISE Development for hire.
                    www.channelrobot.com

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

                    19

                    Online

                    1.8k

                    Users

                    12.1k

                    Topics

                    105.0k

                    Posts