instruments tags - how to use them as storage


(ffx) #1

Have some questions regarding instruments tags:

  • how to access it? Minimal example please…

  • are there space limitations?

  • will it interfere with other tools, like danoises?

  • it is surely saved with the song?

Thanks


(ffx) #2

Ok there are comments per instruments? Danoise, do you use it just like the song comment? Couldn’t find a hint for the instrument tags in the song API doc…


(danoise) #3

Tags were a very short-lived thing (arrived in 3.0, gone in 3.1).

But comments are not going anywhere :slight_smile:

If you are referring to my “instrument comments” tool, I also retired that one since 3.1 has a proper instrument comments panel.


(ffx) #4

since 3.1 has a proper instrument comments panel.

Where can I find that panel?


(ffx) #5

Ok, found it now. Seems to be super slow if the text size is large. Also does not display the whole text. Much slower than this https://forum.renoise.com/t/new-tool-3-0-instrument-comments-editor/41390

Hm, since those comments are used for annotations in that renoise instruments browser , it seems to be not the right place to store tool data…?


(danoise) #6

Seems to be super slow if the text size is large. Also does not display the whole text. Much slower than this https://forum.renoise.com/t/new-tool-3-0-instrument-comments-editor/41390

That tool is using the API to set the text, plain and simple. So I’m not sure what you mean by super slow.

You have to be careful - avoid modifying values in the array, one by one. Instead, prepare and replace the entire array in one go?


(ffx) #7

That tool is using the API to set the text, plain and simple. So I’m not sure what you mean by super slow.

You have to be careful - avoid modifying values in the array, one by one. Instead, prepare and replace the entire array in one go?

Set a super long text using toblerpone’s tool. Then open that comment in the Renoise native comment editor. It will lag for over a second until open. In toblerpone’s tool, no delay at all. String length doesn’t matter.

That gui automation tool writes now the data into song comment. I originally wanted to use the instruments comments, but now it seems to be a bad idea, since that data would be maybe visible in the instrument’s patch list


(danoise) #8

Set a super long text using toblerpone’s tool. Then open that comment in the Renoise native comment editor.

Ah, OK now I get it. Thanks!

Re visibility, they can be viewed through the instrument browser and, obviously, the song comments panel itself.