New Tool: Convert Instrument Numbers

Nice one indeed!

fladd

Updated to now include:

  • Added: A further shortcut for converting the whole track, (not just the track in pattern)

  • Added: Menu entries in the right-click instrument box menu for both functions also

  • NOTE THE KEYBINDING/S ARE CHANGED, FIRST POST SHOWS WHAT THEY ARE NOW.

http://www.renoise.c…ndpost&p=221402

thnx!

Just wanted to add along with everyone else that this tool is great and practical. Thanks :)

Could this be possible: “Convert [Selected] Instruments to Currently Selected”?

I am not too sure if this is possible to get the selection in a pattern. I just check the API docs and could not find anything obvious. I will go and ask in Q+A.

edit: just found this and adding link here as a personal reference.

It is possible. I do it in NotesRandomizer. The thread you linked is about moving the selection block around. Here’s a a simpler example snippet:

  
  
-- Toggle this variable accordingly  
local constrain_to_selected = true   
  
-- Define iter, Can be any valid iterator, does not matter which one example:  
-- renoise.song().pattern_iterator:lines_in_pattern(renoise.song().selected_pattern_index)  
local iter = nil  
  
for pos,line in iter do  
 for cur_col,note_col in ipairs(line.note_columns) do  
 if  
 (  
 not constrain_to_selected or  
 constrain_to_selected and note_col.is_selected  
 )  
 then  
 -- Do something here  
 end  
 end  
end  
  

The procedure revolves around theconstrain_to_selected boolean.

Thanks again Conner!

0.7 Added option for “Selection in Pattern”:

http://www.renoise.c…ndpost&p=221402

Awesome!! :D

v 1.0 now on tools page

Please note updated shortcut names and menu names (tidied)

http://tools.renoise…strument-number

It’ s still awesome

B)

Cool!

bump for beta version;

2.7 version On Tools page:

http://tools.renoise.com/tools/convert-instrument-number

An incredible time-saver - definately the most often used tool of my arsenal.
Thanks!

Becoming one of my favourites at the moment being pretty much maintenance free! :)

In seriousness though glad to see it is being put to use!

aah great, was hoping to find such a tool!!! i really needed this haha. thanks a million

2.8 update: