HISE Logo Forum
    • Categories
    • Register
    • Login

    Sampler Release = Huge CPU Spikes

    Scheduled Pinned Locked Moved General Questions
    5 Posts 2 Posters 331 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.
    • trillbillyT
      trillbilly
      last edited by

      Hey Gang,

      Im creating a Quad Sampler instrument. Each sampler has minimal effects + a granulizer that loads whatever samplemap is loaded in the sampler.

      I have a global ADSR for the samplers. If Im playing one sampler, the cpu never really goes above 10%, even with fairly long release times on the global release.

      Add the 2nd sampler and everything is still OK, until you turn the release time up (I would say starting at around the 3-5 second mark), then I get major cpu spikes, specifically while playing chords. It was regularly reaching 80%, but if I was going a bit crazy, could get over 200%. It doesnt seem to change from 2-4 samplers, its about the same usage. So the big jump is from 1 to 2 samplers.

      The sample library is fairly large and has a sample for each key c3-g8. Some samples are pretty long as well. They are compressed monoliths.

      Is this the sample library and the fact its rendering multiple voices and large files at a time the issue? Is there something else I should look into as well?

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

        @trillbilly no you can render hundreds if not thousands of voices with modern CPUs.

        what's the voice count like? Open the HISE controller and take a look at the stats.

        trillbillyT 1 Reply Last reply Reply Quote 0
        • trillbillyT
          trillbilly @Christoph Hart
          last edited by

          @Christoph-Hart
          2 Samplers Enabled - 0 voices playing
          2samplers-novoice.jpg

          2 Samplers Enabled - 24 voices playing
          2samplers-24voice.jpg

          This is with 4.6s release time.

          Im playing basic chords at a rather fast tempo.

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

            @trillbilly 24 voices is nothing, there is definitely something else going on. Have you tried the module tree profiler this should point you towards the culprit.

            trillbillyT 1 Reply Last reply Reply Quote 0
            • trillbillyT
              trillbilly @Christoph Hart
              last edited by trillbilly

              @Christoph-Hart No I havent. Ive never heard of it. I'll look around for it now and see if I can pinpoint it.

              If you have any info to share about it here, it would be appreciated.

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

              21

              Online

              2.0k

              Users

              12.7k

              Topics

              109.9k

              Posts