HISE Logo Forum
    • Categories
    • Register
    • Login

    very high CPU in scriptnode

    Scheduled Pinned Locked Moved ScriptNode
    8 Posts 4 Posters 574 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.
    • StraticahS
      Straticah
      last edited by Straticah

      Hey there so my plugin has a 35% CPU hit in ableton Live. Simmilar plugins are around 1 to 3% with my CPU. (Ryzen5)

      I found that a setup like this has double the CPU hit in a compiled plugin compared to just using the granular2 module as a hardcoded master FX (obv. without the ms to time calculator links - its there to convert 0 - 500ms into 0-18 range with a toggle)

      Is scriptnode in general known for its heavy CPU hit? If i just stack my effects in the hardcoded FX without the use of scriptnode i went from 50% down to 10%. Which is till too high but can be due to the module itself. In scriptnode however my setup with multiple dry wet paths and the timesync went up to 50% in the compiled plugin.

      Any low CPU best practices when using scriptnode? I have the feeling trying to avoid it for simpler things like dry wet is a good start, but its so easy to change the routing or ranges in scriptnode compared to default HISE.

      65560abd-aaaa-4628-b10d-cb3bc8076ecd-image.png

      building user interfaces in HISE :)
      web: www.vst-design.com

      StraticahS 1 Reply Last reply Reply Quote 0
      • StraticahS
        Straticah @Straticah
        last edited by Straticah

        So i started to rebuild my setup to compare the CPU impact without scriptnode and re compiled HISE using the NUM_HARDCODED_FX_MODS=6 modulators. How do i assign the destination of these since i understood that 6 mods is the maximum but i have more than 6 dials?

        3a5cc324-d154-4d2a-8e41-3da5db6ba809-image.png

        building user interfaces in HISE :)
        web: www.vst-design.com

        Oli UllmannO d.healeyD 2 Replies Last reply Reply Quote 0
        • Oli UllmannO
          Oli Ullmann @Straticah
          last edited by

          @Straticah
          Unfortunately, I can't help you, but may I ask what "granular" is? Is this an effect? Or did you create it yourself? I'm still on HISE version 3.5.0 and can't find granular among the effects.

          Thank you very much
          Oli

          StraticahS 1 Reply Last reply Reply Quote 0
          • StraticahS
            Straticah @Oli Ullmann
            last edited by

            @Oli-Ullmann yes thats an RNBO effect from MAX Msp.

            building user interfaces in HISE :)
            web: www.vst-design.com

            Oli UllmannO 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Straticah
              last edited by

              @Straticah You can have more than 6

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

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

                You can profile how much cpu is used by each node but a simple network like this should not have more than 0,5% CPU overhead on a normal setup.

                StraticahS 1 Reply Last reply Reply Quote 1
                • StraticahS
                  Straticah @Christoph Hart
                  last edited by

                  @Christoph-Hart oh this is helpful i found the icon!

                  building user interfaces in HISE :)
                  web: www.vst-design.com

                  1 Reply Last reply Reply Quote 0
                  • Oli UllmannO
                    Oli Ullmann @Straticah
                    last edited by

                    @Straticah
                    ah ok. Thank you very much! :-)

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

                    50

                    Online

                    1.8k

                    Users

                    12.0k

                    Topics

                    104.4k

                    Posts