Tool (3.1): Capture Track From Instrument

Capture track from instrument

Description

Will move you to the first track the selected instrument is being used in - also including auto-capture when changing instrument.

Menus & Keybindings:

Keybinding preference is found under Pattern Editor:Navigation:Capture track from instrument and Pattern Editor:Navigation:Toggle auto-capture track from instrument.

Menus are found by right clicking the instrument box.

Feedback and suggestions are much appreciated! Or just let me know if you like it smile.gif

7005 joule.no0b.CaptureTrackFromInstrument.xrnx

1 Like

Isn’t working here,

‘C:\Documents and Settings\Ian\Application Data\Renoise\V2.7.2\Scripts\Tools\joule.no0b.CaptureTrackFromInstrument.xrnx\main.lua’ failed in one of its notifiers.
The notifier will be disabled to prevent further errors.

Please contact the author (joule) for assistance…

std::logic_error: ‘trying to access a nil object of type ‘class RenoiseSong’. the object is not or no longer available.’
stack traceback:
[C]: ?
[C]: in function ‘__index’
[string “do…”]:36: in function <[string “do…”]:35>
[string “-------------------------------------------…”]:227: in function ‘lines_in_pattern’
main.lua:8: in function main.lua:6

What did you do?

Please try to redownload as I changed one important thing.

Works now :w00t: thanks

Nice idea, will give this a go. Especially good for collaborations and going back on old songs :)

Isn’t to bad but if there are any empty sample slots it slows down on those with the mouse wheel making it feel a bit awkward. Major workflow improvement, nice one.

Thanks. Yes, but I can’t filter out empty instruments when searching since they still might be somewhere in the pattern data.

One optimization that I still haven’t done yet is to skip empty tracks when searching, which should improve the most obvious speed issues (big songs with lots of tracks).

This may turn out to be fairly useful as long as I remember to name and label my instruments away from the default ‘VSTI EWQLBLAH…’

Thanks!

Updated version with bug fix and speed improvement in OP.

Version 1.0 posted with bugfix and massive speed improvement. Feel free to test and report.

7005 joule.no0b.CaptureTrackFromInstrument.xrnx

tested in 2.8.2

working great!

thanks for this.

Wasn’t getting on so well with the autocapture in the pattern ed, but just modded this to only work when pattern editor is out of view. Very useful for using a sequencer when navigating instruments in the sampler. Also means the last instrument/track is waiting selected when I get back to the pattern ed.

code if anyone interested to add to top of idle_check ()

 function idle_check()
 --only capture when pattern editor not visible
  if renoise.app().window.active_middle_frame == renoise.ApplicationWindow.MIDDLE_FRAME_PATTERN_EDITOR then
    return
  end