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