[Done] tag sampled instruments that aren't used (yet)

I can make a tool that puts [x] before each instrument, x being the number of times an instrument is used by a note? I have already made most of the code in the tool mentioned.

That would be very cool! B)


Try this tool. The menu entries are found in the instrument box context menu.

EDIT: I just reviewed my code and this is the first time a piece of code got me laughing.
It contains some awesome feats like “)” … " " instead of ") "

1 Like

Cool, thanks! Will try after diner B)

Works like a charm :slight_smile:

There is a potential bug if you use an instrument number that does not really exist in the instrument list. I will fix this when I get home, as well as speed optimizing. Big songs will take a while but could be faster.

Do you think it should only scan patterns that are in use, or patterns that are not in the order list as well?

Only patterns that are in use, if that speeds up the count, but that is because I don’t leave out patterns in the order list.

Was wondering, for another tool idea, would it be possible to fetch the sample length in time and put that in front of the sample name? Just like your tool now puts in the count, put in front the length in time?

Makes it more easy to differentiate between long and short samples by just looking at the instrument list, negates the need to check in sample editor.

The instrument list contains instruments and not samples. It is possible if you add the size for all samples, for example. Maybe someone else wants to do it? I think it is too ugly.

There are different ways to notate time, I think it could be handy, hope someone will pick it up :D


After considering your proposal, ideally, I want to extend the “Organize instruments” tool with a window showing a list with extended information of all instruments (total samples, total slices, seconds long (basenote), et c). This could include the possibility to append any information available to the instrument name.

It takes a while to do this, and I think it might be better to wait for the next version of Renoise to see if the lua API will bring anything new in terms of gui (lists, dragndrop et c).

Thanks for bringing ideas!

Wow, sounds great! It would probably be better to call the extended tool something like “Instrument manager” instead. Godspeed!

(And let’s hope the new release pops out of oven some time soon ;))

Sounds good!

Thanks for the scripting magick!

Ey Joule,

I got this message:

After pressing cancel in the standard pop-up window when a script is taking to long to respond. Was playing back a cpu heavy track while running the script and decided it wasn’t worth the wait after the audio started stuttering.

Oy, I use this script quite often, wonder if you can extend the counting to the sample list in ‘Instrument Settings’? (pretty please :yeah: ) Either automatically through the original script use, or optional through right mouse clicking / selecting the script in the Sample list in ‘Instrument Settings’.

Sure. I’ll just have to investigate how samples (and slices?) are handled. A sample can be triggered either by being mapped to a particular key, or via an override effect command, right?

It will be quite tedious keeping track of samples with velocity mapping. I predict the tool will be a bit slow, having to scan several columns in the song.

I’m not using pattern command SXX to trigger slices of multi-sampled instruments, just different notes. Maybe keep it to differentiating & counting note-events and not keep track of velocity mappings if it is too slow?

I’ll do it proper and generic if doing it at all :)

had a bug today:

Boommmm, necro’ing, adding a feature request with no shame :ph34r: ,

I’m looking for a tool that can add sample info at end of a sample’s name. As the quoted tool underneath adds stuff to the beginning of the instruments name, I thought this would be a good candidate for feature pimping, though the sort instruments tool might be a good candidate as well ( https://forum.renoise.com/t/updated-tool-3-1-sort-instruments/34208 )

Probably trivial for most, but I’m looking for a tool which goes through the instrument list and can add stuff like the sample’s length, mono or stereo properties, sample rate/bit rate, other info(?) at the end of a instrument name. Maybe these properties can be selected in some kind of gui, if you just want one or the other.

I know these can be figured out from within Renoise, the main objective is to batch save samples and be able to categorize them based on the used name settings. Maybe it can be useful for others as well? B)

Project for when you bored, Joule? :stuck_out_tongue:


Try this tool. The menu entries are found in the instrument box context menu.


EDIT: I just reviewed my code and this is the first time a piece of code got me laughing.
It contains some awesome feats like “)” … " " instead of ") "