HISE Logo Forum
    • Categories
    • Register
    • Login

    Is there a broadcaster limit?

    Scheduled Pinned Locked Moved Unsolved Scripting
    broadcaste
    5 Posts 2 Posters 170 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      Is there a limit on the number of broadcasters I can use in my project, or will I notice any side effects from using lots (potentially 100s) of them?

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

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

        @d-healey No, the broadcaster map might become a mess, but as long as it's not visible, it won't update.

        Why would you create 100s of them? I'm using them in a super complex project and I have about 30 broadcasters.

        Christoph HartC d.healeyD 2 Replies Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @Christoph Hart
          last edited by

          Proof:

          const var list = [];
          
          const var HUNDREDS = 101;
          
          for(i = 0; i < HUNDREDS; i++)
          {
          	list.push(Engine.createBroadcaster({
          			"id": "broadcaster" + (i+1),
          			"args": ["someIndex"]
          		}));
          }
          
          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Christoph Hart
            last edited by

            @Christoph-Hart said in Is there a broadcaster limit?:

            Why would you create 100s of them? I'm using them in a super complex project and I have about 30 broadcasters.

            It's for my downloader app. I wanted to add a broadcaster for each product to track its download progress. Currently I only have a few products but I'm dreaming big :)

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

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

              @d-healey ah I see. Yes that should be fine and as long as they are not busy and idleing around, they shouldn‘t consume an unreasonable amount of resources.

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

              8

              Online

              1.7k

              Users

              11.8k

              Topics

              102.3k

              Posts