HISE Logo Forum
    • Categories
    • Register
    • Login

    .fill function for midiList seems to not work in the new scripnode commit.

    Scheduled Pinned Locked Moved Bug Reports
    1 Posts 1 Posters 132 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.
    • marcLabM
      marcLab
      last edited by

      I was having a problem with some of my scripts until I found out that the .fill function didn't work in the new scriptnode commit.

      const eventIds = Engine.createMidiList();
      eventIds.fill(-99);

      for (i = 0; i < 127; i++)
       Console.print(eventIds.getValue(i));
      

      Console:
      nterface: -1650614883
      Interface: -1650614883
      Interface: -1650614883
      Interface: -1650614883
      Interface: -1650614883
      ...

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

      58

      Online

      1.7k

      Users

      11.7k

      Topics

      102.1k

      Posts