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



  • 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
    ...


Log in to reply
 

12
Online

1.3k
Users

4.3k
Topics

38.6k
Posts