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.
    • L
      LeeC @ustk
      last edited by

      @ustk Ok great, I'll give this a try later today when I'm back at the machine.

      Big thanks again for putting something together ☺

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

        Beautiful solution @ustk. Just gave it a try ✌

        Like how you've created randomness by combining different oscillators with different settings. Sounds ace ☺

        It's also helped me to see some of the possibilities available within script node.

        Big thanks!

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

          Hey @ustk,

          Are you finding scriptnode to be incredibly CPU hungry when doing certain things?

          For example, the nice pitch detune snippet you created below uses 50-60% looking at the Hise meter on a Mac Pro.

          HiseSnippet 2211.3oc6a0DaabbEdVRMxhzxJ+TkB2hdfHPnPFvQfjV1oAAshV+YHTSKZQYkDfz5NZ2gjC3xY1r6PKyDTfbnG5sdt8ROzBzdJnWyghHfdsAH.9Pt1VfhdHM.5btjLyN6xcVxkRqXhjrDzdQb9+aduu26M6rOUykYh87Xt.iba2yACLlFVuGk2ZkVHBErwp.iYfaQsVEy6RwqVuFX4dNHOOrEvvH68j8wH2D.+mCVZYjMhZhipB.1gQLw2mzgvipsVkeNw1dcjEdaRGsduXkMLYzUX1rtB7jEVD3fLaiZhe.R1sLPfwjqYQ3L25bDG6ALlXYlUu5sX6QU8eGhGYWarrPIPcwDopdclskDwxZAqzhXaUKbe6A.FvZQRgrJovrvpDKR+5ijFuneCEhFgt7vHygAuR5vqX5gmgF7lPAuWBV2zk3viZQhsqB2fxwtMPBUfNrT8EXrObElnCT9BcPswq6JJze.yemhEuYgaWr3MdyFcolbBiVfQe.ii2jN+Mx+A4yk+WmuvfM0nQhsIWFWlsM1MwlkZc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+KCqwr6oHyqSrkwXUGhWU3vBe..Q2Itpx8u+U+KUdXPgJx7WHN885UdXWjslT+COX56tLwgYibSkFY7Y6SjRZy2O5h9OOw0kZlyO38G.CT5E7+5Dmav8LvGd9ArxS.7zmCf6oQN7dZrFcPltrGapR8YoKko7qQruo9++zjCVUVtPov+aEfxupHni3XXO1zT5i+0DxmjGS4wXL2ZLFyhiwXt8XLl6LFi40Giw7SNzwHOA7c6xYcT7eQE0Vy+EuLLhtM5rfuAIizt4
          
          

          Anybody else finding the same thing?

          Cheers

          ustkU 1 Reply Last reply Reply Quote 0
          • 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

                                16

                                Online

                                1.7k

                                Users

                                11.8k

                                Topics

                                103.0k

                                Posts