HISE Logo Forum
    • Categories
    • Register
    • Login

    Long sample vs short in loop

    Scheduled Pinned Locked Moved General Questions
    12 Posts 3 Posters 266 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.
    • Robert PuzaR
      Robert Puza
      last edited by

      Long samples vs short samples in a loop 🤔

      Does it make sense to shorten a long samples (20 seconds) by, for example, 5 seconds and let the end of the sample loop? Is it better for the CPU and memory?
      Or does it matter?
      Or is looping even worse for the CPU and memory than a long sample?

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

        @Robert-Puza If you're using disk streaming it doesn't make much difference to CPU or RAM, it will only affect storage space on the disk.

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

        Robert PuzaR 1 Reply Last reply Reply Quote 0
        • Robert PuzaR
          Robert Puza @d.healey
          last edited by

          @d-healey ok.
          Thanks.
          i'm going to google what disk streaming is. i don't know if i use it or not. 😂

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

            @Robert-Puza said in Long sample vs short in loop:

            i don't know if i use it or not

            You do, it's the default behaviour.

            Disk streaming means that only the start of the sample is loaded into RAM and the rest is read from the disk during playback.

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

            Robert PuzaR 2 Replies Last reply Reply Quote 0
            • Robert PuzaR
              Robert Puza @d.healey
              last edited by

              @d-healey well I'm surprised. So the quality of the tool depends on the quality and speed of the hard drive? Isn't Ram faster and more versatile? Please explain. So the hard drive MUST be SSD?

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

                @Robert-Puza said in Long sample vs short in loop:

                Isn't Ram faster and more versatile?

                Yes but much more expensive and many sample libraries are 100s of GB in size.

                @Robert-Puza said in Long sample vs short in loop:

                So the hard drive MUST be SSD?

                SSDs are better but a 7200RPM HDD is fast enough, and you can adjust the buffer size to change the amount that is loaded into RAM.

                This tech has been around since GigaSampler in 1998 - https://www.soundonsound.com/reviews/nemesys-gigasampler-v15

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

                Robert PuzaR 1 Reply Last reply Reply Quote 1
                • Robert PuzaR
                  Robert Puza @d.healey
                  last edited by

                  @d-healey buffer size? The more buffer you give, the greater the latency. right? I need the smallest buffer possible. right?

                  LindonL 1 Reply Last reply Reply Quote 0
                  • Robert PuzaR
                    Robert Puza @d.healey
                    last edited by Robert Puza

                    @d-healey on worse computers the beginning of the sample is critical. how to prevent it? by worse computer I mean 2.9 ghz and 4 gb ram.

                    You are probably familiar with the effect that older software works fine on everything and the latest version of the same thing works fine ONLY on good computers. I don't want this. It has to work fine on everything.

                    1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Robert Puza
                      last edited by

                      @Robert-Puza said in Long sample vs short in loop:

                      @d-healey buffer size? The more buffer you give, the greater the latency. right? I need the smallest buffer possible. right?

                      no buffer here means the amount of the sample currently loaded into memory - that will start to playback instantly - and whilst it is playing the disk streaming is fetching the rest of the sample from disk.

                      So if you have a slow(er) disk then the buffer size needs to be bigger...

                      HISE Development for hire.
                      www.channelrobot.com

                      Robert PuzaR 1 Reply Last reply Reply Quote 0
                      • Robert PuzaR
                        Robert Puza @Lindon
                        last edited by

                        @Lindon so you are not thinking about the buffer size that we set, for example in ASIO?

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Robert Puza
                          last edited by

                          @Robert-Puza no we are not talking about that at all, read the article Dave pointed you at....

                          HISE Development for hire.
                          www.channelrobot.com

                          Robert PuzaR 1 Reply Last reply Reply Quote 1
                          • Robert PuzaR
                            Robert Puza @Lindon
                            last edited by

                            @Lindon Ok. 🤭

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

                            18

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.4k

                            Posts