Hello, does anyone know of a function that takes a filepath to a .xrni and loads it into the nth instrument slot? Or have an idea as to how to approximate this? I have a ton of instruments in xrni form and would like to load them programmatically.
Thanks, Halley
You mean using a combination like:
renoise.song().selected_instrument_index = [nth instrument index] (and then) renoise.app():load_instrument(filepath/filename)
Oh, perfect. I was looking at the API docs for instrument but saw nothing about loading files. Didn’t think to look at the app API.
Thank you very much, works perfectly!