Mapping Macros dynamically

Hey all,

I’m pretty new to Renoise, and am loving it so far. I have one thing I’m having trouble figuring out, though.

I use a Roland Apro controller keyboard, which lets me easily change the channel of the keys, but not the knobs and faders (it’s possible, just cumbersome). I’m having trouble figuring out the right way to control the macros for each individual instrument from my keyboard as I’m playing. If I MIDI learn the Macros, then they are “always on”, but I only want to be controlling whatever instrument I’m playing at that moment, and leave the others unchanged. If I use a button on my keyboard to select the instrument I want to be playing, I want the same knob to now control the macros for_that_ instrument, instead of the one that was previously selected.

I thought maybe xRules might let me do it, but it’s not built in. I’d have to code that myself, unless I’m missing something obvious.

Any thoughts/ideas?

Thanks for your help,

Mike

Ah! I figured something out.

By using mapping buttons to select each track, and then using the “Track DSP” mapping and the “Instrument Macro” (one per track, each assigned to a different instrument), I’m able to get the best of both worlds - I can just change my midi channels of my keyboard to play the different instruments, but I can select and record automation for the other instruments completely independently.

Renoise is pretty awesome!

Hi, I am wanting to dynamically map inst. macros and I am trying to understand this solution. My goal would be to be able to:

  1. Automate 1st instruments Macros with midi controller
  2. switch to new instrument and automate its Macros with the same midi controller without automating the first instrument’s macros.

Basically I want to switch between instruments and automate their macros with midi controller independently. Is this possible? Thank you.

Yes that would work. Maybe I am a bit spoiled working with ReaLearn in Reaper where you can switch mappings independently depending on which track or plugin you select making it possible to use a single midi mapping preset. Was wondering if there was any sort of conditional midi mapping like that in Renoise. For now I will just use other channels Thank you!

Paketti has a solution. There are dynamic ”selected instrument” macros there, just search for Cutoff in Midi mappings.

The way this works is when u change the instrument, the macro midimaps dynamically point to that instrument’s macros. Enjoy.

3 Likes

Hey Esa,

Thank you for this solution! The mapping works but does not seem to record automation when moving the slider. I have record automation enabled for midi mappings. Am I missing something?

1 Like

oh, yes, it’s direct. but for recording automation, there’s one more trick that might be of interest to you:

Record Automation to Selected Parameter

the way this works, is, ANY parameter you have selected, if you’ve got EditMode on + Follow Pattern on, it’ll actually write to the automation envelope directly. so just select a parameter, tweak the knob and go. that way you have a single knob that always modifies the selected parameter envelope. and if no envelope? it just creates the envelope.

it’s pretty handy.

what i think i could do, is something like this: make a modification of the macro mapping that also, when “Record to Automation” is enabled, writes to the playhead. it’s a good idea, so i’ll do that.

ok, it’s in Paketti now. check it out from my github.

1 Like

Wow thanks so much Esa. That was incredibly fast. I did test it and I am not seeing any automation recording when I move the macro. Am I missing something?

1 Like

@Nalma1 did you bind the Write ones?

i didn’t modify the non-write ones.

so, you’ll need to have this on:

this is used so that when you tweak the Write knob for a macro, ..

wait.

ok, so the way i’ve written it up is that it’ll hit the *Instr. Macros` device - if you can throw me a xrns example htat doesn’t work with the script currently, i’ll have a look and pretty surely figure out what’s going on and what should be going on. the instr macros device is used so that the macros are exposed as automatable, so the automation is affecting the macro keys of the instrument.

if there’s a different usecase, please do give me some details and i’ll work it out.

p.s. just in case, here’s what the midimappings look like:

1 Like

Hey Esa, yes I mapped the Write ones, however I was expecting to see the automation in the pattern and didn’t have that envelope switch on. That is required for it to work or Is it possible to record the automation in the pattern? I am using inst. macros effect.

Also how do I actually “select” an effect for the automate any parameter option you mentioned.

Thank you for all your help.

yep, so, so far the macro has been writing to either macro only, or to automation envelope, not to pattern effect column. i guess i could modify it so it writes to effect column, that could be wild.

the automate-any-parameter needs for you to have the lower frame open in automation, and a parameter (automation envelope) selected. then you just draw to it.

also, you might get a kick out of the Parameter Editor - which will show you all the parameters of the selected device like this:

and if you enable Automation Sync - then you can just start drawing parameters (increases,decreases) and it’ll automatically create automation envelopes and write to the automation frame.

Just tested it and it indeed works I am new to renoise and didn’t know about the redirect to envelopes setting. I do enjoy step editing automation from time to time so being able to record it into the pattern would be cool but this is amazing. Thank you!

hey, enjoy!

and if you like, HyperEdit is your friend, too:

this’ll let you hit the parameters you want, and loop-automate them.

but i wanted to say, i’m currently trying to make the “write to pattern, if automation isn’t set with that editmode”, i hope i’ll get it going soon.

ok i ran out of time, but, there’s something there. care to take it for a spin? it’s in in 2 min

Wow awesome! I will check out HyperEdit! Really appreciate you creating all this. I will test out what you added and let you know how it goes.

Hey Esa,

I like how it is recording in the pattern but I’m not sure I prefer it recording when not in edit mode. Makes it a bit too easy to mess things up when I’m trying out ideas before recording so I think for now I’ll use the previous version. I also see that when pressing undo it erases one point at a time. Any chance it can undo the whole take? Obviously no obligation. I really appreciate you making this possible.

1 Like

hi, good idea. i’ve modified and pushed a version which only records to automation or pattern editor IF editmode is on.

I will need to look at undo stuff but i Fear it might not be simple enough to be made workable. But i do wanna study how undo works in scripting and see if i can group undos somehow

ok, i tweaked it further @Nalma1 - please check the github repo.

so here’s how it works now, the 8 macro knobs will each write to a separate effect column, making them visible if required.

so if you just hit macro2 macro3 knob then only 3 effect columns will be written to.

github updated now.

1 Like

Hi Esa,

Works perfectly! thank you for adding that flexibility. This makes it so I can switch instruments and use my midi controller to use a single mapping to jam with my instrument’s macros seamlessly.

1 Like

fantastic! thanks for providing the ideas, they were very much worth implementing!

if you ever come across “i wish x did y” type things, just hit me up so i can see if i can add them into Paketti.