I use a lot of recorded stems inrenoiseand often duplicate them to have them in different places, some chopped, some backwards, some with looped sections.
I would like to know how many times an instrument is used in the track - maybe how many patterns its in, or how many times its triggered.
Primarily because I have a stem and I want to know if this is the ONLY instance used - whether I can do some destructive editing or not.
…going further (sorry!) if we were able to highlight the tracks patternswhich contained this sample - that would be great. Pretty sure I requested this a few years ago but this form only goes back so far.
I’m in the same boat. Using my own recorded samples and not wanting to repeat them in different songs.
I wrote a Ruby script to run through a folder of xrns files and grab a list of samples used and write out a text file. I didn’t care about regular instruments so I had to keep adding exclusions to make the results more readable.
It was a clunky way to approach it but it did help me keep track of some things.
Ruby was faster for me than trying to use Lua in a tool, but that would be a better way to go about it.
0.71 –non-sequencer track message updated 0.7 –added joules speed improvements_ _--now when no notes are found in the selected track it will not list Pattern,Line multiple times. It just says:_ _NO NOTES FOUND IN CURRENTLY SELECTED TRACK X`: –improved instrument popup numbering to match renoises hex numbering
0.6 -code tidy(er)
-added multiline_textfield to contain/ wrap text properly
First loop scans all tracks to find the first instance of a note. It breaks/ returns when the first note is found.
Second loop scans the selected track only but gets all notes. <- lower part of text readout
There is a bit of an inefficiency as selected track has the potential to get scanned fully twice, but code seemed neater this way. Also a single string is getting edited as you go along the function. (sidenote: Also just silent updated to 0.62 above to deal with a formatting issue)
Any optimizations would be welcome! In fact if you have an abstracted snippet I could apply, it would probably do me good to finally learn properly the ‘ninja scanning method’ !
–added joule’s speed improvements
–now when no notes are found in the selected track it will not list Pattern,Line multiple times. It just says:
NO NOTES FOUND IN CURRENTLY SELECTED ‘TRACK X’:
–improved instrument popup numbering to match renoises hex numbering