New Tool (2.8) Display Effect Parameter

[Updating Tool Idea to New Tool]

When automating Track DSP effect parameters with pattern effect commands you use four numbers in the effect column, xyzz, where x is the the xth effect in the chain, y is the yth parameter in the device. With a lot of automation going on you can be easily forget which number correspond to which effect/parameter. This tool helps you find out the DSP and Parameter name from those numbers.

Using a keyboard shortcut, the tool displays the DSP and Parameter name in the Status Bar for the effect under the cursor in the Pattern Editor.

You can find the keybinding under: Pattern Editor > Navigation > Display DSP Parameter.

The Display Effect Parameter tool can be downloaded here: New Tool (2.8) Display Effect Parameter

[Old Post]

When automating Track DSP effect parameters with pattern effect commands I keep forgetting which parameter is which.

http://tutorials.renoise.com/wiki/Pattern_Effect_Commands#Track_DSP_Commands

I’m forced to do some thinking… ie: “xyzz -> x is the the xth effect in the chain, y is the yth parameter in the device”, then scroll through the effect chain and look for the the correct slider with a little icon that indicates an automated parameter. Or look in the pattern FX commands list below the pattern editor for the correspondent number.

It would be nice if there was a quicker way to identify the automated parameter. Like a tooltip over the command displaying the parameter name. Would something like that be possible? Or perhaps selecting the command and right clicking…

Maybe an idea for suggestion into the core program?

But it would probably be possible to script something that reads the value of the effect under the cursor and displays something in the Status Bar as you navigate to it. Or add a keyboard shortcut to do so…

Yes I guess it could be a good idea to improve this in the core program. But I figured it might be quick and easy to make such a tool, doesn’t seem like a complicated thing if the API supports it.

Snippet:

local col = renoise.song().selected_effect_column.number_value  
local pos = renoise.song().transport.edit_pos  
  
local dsp = math.modf (renoise.song().selected_effect_column.number_value / 256)  
local param = col - (dsp*256)  
  
  
if col == 0 or col == nil then message = ("not a dsp command")   
else message = ("Parameter is " .. renoise.song().selected_track.devices[dsp+1].parameters[param].name .. " of DSP " .. renoise.song().selected_track.devices[dsp+1].display_name)  
end  
renoise.app():show_status(message)  

Does that make sense to you to try or do I need to package it as an actual tool? If I was to do so it would be utilising a keyboard shortcut to display it, rather than automatically doing so on cursor movement.

I installed the “Create Tool” tool, but don’t really know where to paste the snippet and what else I need to do to… I have no experience with LUA or much scripting at all. So if you could do this, I’d be very grateful. :wub:
A keyboard shortcut would be a good idea I guess. Could you not use numpad as I’m on a laptop, or make it editable?

File attached. See below for updated version.

You can find the keybinding under: Pattern Editor > Navigation > Display DSP Parameter.

The DSP and Parameter name are displayed in the Status Bar.

Let me know any tweaks you might desire.

I’m getting an error:

'C:\Users\DBY\AppData\Roaming\Renoise\V2.8.0\Scripts\Tools\uk.deaddogdisko.DisplayEffectParameter.xrnx\' failed to execute in one of its key binding functions.  
  
Please contact the author (Kazakore | dj_kaza@hotmail.com) for assistance...  
  
main.lua:9: assign to undeclared variable 'message'  
stack traceback:  
 [C]: in function '_error'  
 [string "local mt = getmetatable(_G)..."]:17: in function   
 main.lua:9: in function 'dispparam'  
 main.lua:16: in function <16><br>```

</16>

OK I think it’s because I didn’t initialise the variable “message” give me time to pop to the chip shop and get some dinner before uploading an edit though…

Take your time. I think I’ll get something to eat myself. Thanks for creating this tool. Since I work with Duplex:GridPie I can’t use graphical automation… FX columns are slowly getting packed with numbers. :)

OK I think I’ve fixed it. I’ve also added a Return function so that it doesn’t throw up an Error if you are not on an Effect Column when you try and use it. Let me know if it now works for you.

(See new link below.)

Yeah, works great! Thanks! :)

One thing that could be tweaked is the syntax to make it more visibly clear.

…perhaps something minimalistic? Like:

x — y

*Instr. MIDI Control — CC 23 (Glide1)

Good call. I’ve gone with DSP Name >>> Parameter (EG Comb Filter >>> Feedback)

One thing it does NOT work with currently is any parameters automated from the Mixer device (device 0 which is in every track with Vol, Pan, Width etc. It will flag the message that it’s not a DSP parameter even though it in fact is. Sorry but think I will leave that one as is…)

Perfect!

That’s fine by me. I don’t usually touch those anyway.