HISE Logo Forum
    • Categories
    • Register
    • Login

    Trying to create a random pitch detune effect in HISE

    Scheduled Pinned Locked Moved General Questions
    27 Posts 4 Posters 2.0k 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.
    • ustkU
      ustk @LeeC
      last edited by

      @LeeC Mine stays at 2.50% max with this snippet... (i7 3.5GHz)

      Although the CPU charge in Hise doesn't reflect what we are generally used to... I invite you to search about that in the forum, @Christoph-Hart gave some explanations to defend Hise's measuring system. (quickly, 50% doesn't mean the CPU is half used...)

      Can't help pressing F5 in the forum...

      L 1 Reply Last reply Reply Quote 0
      • L
        LeeC @ustk
        last edited by LeeC

        @ustk Just had a search around thanks.

        Wow, 2.50% max with the same snippet :astonished_face:

        Like I said mine shows around 60% easily and if I duplicate the 'ScriptFX' I start to hear glitching and dropouts in the audio.

        Appreciate that we aren't exactly comparing apples to apples here with the different systems etc but, I thought that my Mac Pro would be apple to handle a ton of instances of the ScriptFx in your snippet.

        If anyone experiences similar or has any ideas what's going on please share.

        Cheers

        alt text

        L 1 Reply Last reply Reply Quote 0
        • L
          LeeC @LeeC
          last edited by LeeC

          Duplicated the ScriptFX a few times and we're up around 250%

          alt text

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

            Quick question: do you use the Debug build of HISE? That might explain the huge CPU difference.

            I've loaded the snippet, takes 3,5% on my CPU, but it's a fairly powerful i9 notebook.

            As long as your MacPro is >2010, there's clearly something wrong.

            Also be aware that scriptnode patches which use frame-based processing are supposed to be compiled into a C++ module for production builds - if you compile it to C++ that particular patch shouldn't take more than 0.5% - even in the HISE CPU meter.

            L 1 Reply Last reply Reply Quote 0
            • L
              LeeC @Christoph Hart
              last edited by

              Hey @Christoph-Hart,

              Yes I'm using a debug version of HISE 2.1.0
              alt text

              alt text

              Guess it's time for me to get latest.
              Could you point to the right/best version to be using?

              Appreciate the response ☺

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

                This post is deleted!
                L 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart
                  last edited by

                  Ahh, never use the Debug build and complain about CPU :)

                  It contains tons of boilerplate code that is supposed to help during debugging. Just recompile HISE with the "Build for Profiling" menu command and it will optimise HISE to run about 50x - 80x faster (expect it to take about 3x longer to compile though).

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    LeeC @Christoph Hart
                    last edited by LeeC

                    @Christoph-Hart great, thanks for testing!

                    Ok, so I first need to get off the debug version I'm using and then I need to learn how to compile scriptnode patches into C++ modules.

                    Thanks for steering me in the right direction (I've been spinning in circles all day on this one).

                    Can somebody please point me to the latest version of HISE to be using?

                    Not sure how I ended up on debug anyway to be honest but It's been working fine so avoided updating until now.

                    Cheers ☺

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

                      You don't need to get a different code, just open the HISE XCode project again that you've compiled to the Debug version and tell Xcode to compile it in a different setting (Product -> Build -> Build for Profiling)

                      L 1 Reply Last reply Reply Quote 1
                      • L
                        LeeC @Christoph Hart
                        last edited by

                        @Christoph-Hart nice.

                        Thanks again 🚀

                        1 Reply Last reply Reply Quote 0
                        • L
                          LeeC @Christoph Hart
                          last edited by

                          Yep, recompiled with "Build fo Profiling" and the CPU performance is night and day!
                          Bye bye debug mode ☺

                          BIG thanks for the heads up @Christoph-Hart and thanks @ustk for testing earlier ✌

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

                          12

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          103.0k

                          Posts