RNBO script multidimensional Array question
Hi list,
I am trying to get into RNBO Script, and trying to find a code replacement for list.store. I found I can do multidimensional arrays https://rnbo.cycling74.com/codebox with fixed arrays, so that’s basically the thing I did with [list.store 10 10] before. I have some working knowledge in JS but no experience in c++ so I am struggling on the syntax
@state myarray = new FixedIntArray(10,10);
Seems to be ok.
If I write
myarray[0,0] =[10,10]; It gives no errors, so that’s probably right too
But writing out1= myarray[0,0]; doesn’t work.
Can someone post a little example to set and retrieve rows of an 2d array?
I want to store midi chords and address them with a single number [row] and get them as a list back so a typical Coll task
Thanks in advance
Falk