Been trying to work out how to use tables and get information about slices. A lot of things I do throw up errors such as:
Although ‘song’ clearly is defined as it’s part of the Classes(?) built into Renoise’s API. Although I have had similar problem, eg trying to do shortcuts and buttons, that would not work on the testing terminal but do once made into a tool…
Currently trying to get my head around Markers.
A snippet of code how to use “song().instruments.samples.slice_markers,” eg how to read the specific location of markers. It says " -> [table of numbers - sample positions]" does that mean this is already a full table? So do you need to always use “samples” as only the first slot can actually have markers? Or do you use “samples[x]” where x is the sample slot the particular slice is in? Had been assuming the first. Have tried multiple things just trying to get this to print in the terminal but so far just confusing myself further I think!
Also how do I get the value from “#samples.slice_markers” so I can do the correct thing at the end/beginning of a sample?