New Tool (3.1) Device Sergeant (June 2017)

Tools Site Page:

http://renoise.com/tools/device-sergeant


Device Sergeant

Allows you to to have macro style control of all devices in the mixer of the same name.

Open the tool and navigate to the device you want to use as a master device. You can rename all devices that already share the same name using the text field. Alternatively name a few by hand to group them together for the tool. (devices must be of the same type)

In the picture I have added some Digital Filters (renamed to HP Filter). Use the dropdown to choose the parameter that you want to control in all instances at the same time. In the screenshot this means I can drag the slider and all the cutoffs for HP Filter will be modified together.

Prev and Next device buttons [<][>] navigate through all the selected device instances across tracks. (not seen in current screenshot)

The [Toggle] [All On] and [All Off] buttons control the bypass state all of the devices together for quick A/Bing

[Sync All Devices] sets all of the parameters of all devices exactly the same if they have become unaligned

[+ To Vacant Tracks] adds copies of the current selected device to all sequencer tracks that don`t have one

[Delete All] deletes all copies of the device from the mixer

[Rename Current Device Only] renames the selected device (different from the main textfield that allows you to rename all ‘selected’ devices at once)

Tools Menu: Ledger`s Scripts:Device Sergeant_
Mixer Menu: Device Sergeant_
DSP Lane Menu: Device Sergeant_
Shortcut: Device Sergeant_


changelog:

Click to view contents

v 0.70 Updated menu behaviour to always open/ re-initialise the tool and bring it to front and centre
v 0.66 Added 4 new “nudge” buttons beneath the main slider.

v0.60
-Minor update to device count readout, shows what device you have selected in format: (current/total)

v0.59
-Added Prev and Next device buttons [] to navigate through all the selected device instances

v0.58
-Delete button now coloured red

v0.57
-Added Menu Entry when you right-click a DSP Device

v0.56
-Added a button [Rename Current Device Only] that renames the selected device

v0.55
-When using [+ To Vacant Tracks] , the newly inserted devices will appear before any send devices in the track

v0.55
-When using [+ To Vacant Tracks] , the newly inserted devices will appear before any send devices in the track

v0.54
- Using [+ To Vacant Tracks] button will now copy modified display name of device being copied

v0.53
_-Added a count of current devices next to “Selected Device/s” title. So if 4 devices are targeted then it reads “Selected Device/s = 4” _
-small button colour bug fix

v0.52 bugfix where -1 values are reported by some DSP parameters

/////////////////////////////

My Other Scripts:

2 Likes

Thanks you so much! Very handy!

1 Like

Really useful, thanks!

1 Like

Thanks for all your tools, Ledger!

A little problem: select Chorus, Reset (value 0):

*** std::logic_error: 'ViewBuilder: invalid value for mini slider: '-1'. value must be [0 - 255].'
*** stack traceback:
*** [C]: ?
*** [C]: in function '__newindex'
*** [string "do..."]:22: in function <[string "do..."]:9>
*** main.lua:342: in function <main.lua:328>

If the selected device has a selector or buttons, seems to be missing something, for example: the Convolver, Impulse Mono/Stereo.Maybe the 0 and 1 values can be used?

1 Like

Thanks all, for the feedback!

@Raul I think the bug you report is related to this API issue I ran into before. Thanks, I`ll take a look and sort out a workaround.

https://forum.renoise.com/t/lua-meta-devices-routing-to-current-track-return-1-as-value/44659

(API reports :

......:device(X):parameter(X).value_min

of 0 for some properties that can also return -1 . This is different from the usual issue of Lua counting from 1 and renoise values counting from 0 )

Thanks all, for the feedback!

@Raul I think the bug you report is related to this API issue I ran into before. Thanks, I`ll take a look and sort out a workaround.

https://forum.renoise.com/t/lua-meta-devices-routing-to-current-track-return-1-as-value/44659

(API reports min of 0 for some properties that can also return -1 . This is different from the usual issue of Lua counting from 1 and renoise values counting from 0 )

Thank you!I followed the link. It seems an issue not solved by Taktik yet, does it?

The other day I found another small problem that has to do with the ranges.It has no relation here, but it seems somewhat common to find small problems at the extremes of the ranges of values employed.I hope Taktik is not far away and review all this…

I suspect these issues will be cleared up with a new API version jump which comes with a new renoise 3.x

I guess taktik, danoise and all are tracking these issues but maybe a dedicated thread like the API wishlist is in order to keep track of confirmed stuff?

New version just to fix bug Raul found:

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

New version just to fix bug Raul found:

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

Thanks!This tool is great for playing with devices!!!

1 Like

I guess taktik, danoise and all are tracking these issues but maybe a dedicated thread like the API wishlist is in order to keep track of confirmed stuff?

Sure, yes we are.

As for the “issue” - the ability to tell the difference between “current track” and something else is useful, I’d say?

But, since you need to handle such special cases in your tools, It should also be mentioned somewhere in the API docs.

This is different from the usual issue of Lua counting from 1 and renoise values counting from 0 )

Sometimes but not always. For example, observable values often use “0” as an indication that “nothing” is selected.

There really isn’t any other choice here as an observable need to have a value.

The rule of counting from one is only really relevant for indexed tables, and even here you can still set zero and negative values as well.

So there’s nothing wrong with 0 or even -1, it’s more a question of being consistent.

Yes an update to the API docs would be good to warn of the `-1` values. There`s no problem with their utility, it was just a bit of a curve ball at the time.

Looking back at the other thread it looked like the issue taktik talked about was for Dest. Track / Effect / Parameters, not being able to be assignable to current track via automation at all. I remembered this as an API issue but sounds like the confusion came downstream from that renoise quirk.

The only reason I mentioned the counting from one thing was in case Raul was interested, as I know he scripts aswell. It was referring to renoise instrument `00` being instrument `1` in API; not so much an ‘issue’ as something to be aware of.

Running count of targeted devices added:

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

v0.53

-Added a count of current devices next to “Selected Device/s” title. So if 4 devices are targeted then it reads "Selected Device/s = 4"

-small button colour bug fix

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

v0.54

- Using [+ To Vacant Tracks] button will now copy modified display name of device being copied

Would there be any chance of adding an option to this to copy to all devices before sends?

Would there be any chance of adding an option to this to copy to all devices before sends?

Do you mean the “Sync All Devices” button?

Do you mean the “Sync All Devices” button?

No, I don’t think so. I mean that if on the destination track you have some send devices the new effect gets put after them but I think (at least for me) most times it would be better to have the new device before the send devices.

No, I don’t think so. I mean that if on the destination track you have some send devices the new effect gets put after them but I think (at least for me) most times it would be better to have the new device before the send devices.

I see, makes sense. I`ve added this to the latest version 0.55:

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

Edit now updated to 0.56:

v0.56

-Added a button [Rename Current Device Only] that renames the selected device

v0.55

-When using [+ To Vacant Tracks] , the newly inserted devices will appear before any send devices in the track

Thanks a lot, that’s a very welcome addition!

1 Like

0.57, Added a menu entry when right clicking a device in the DSP lane

https://forum.renoise.com/t/new-tool-3-1-device-sergeant-june-2017/47820

Nice, thanks! Very helpful, maybe in combination with your dual compressor sidechaining thing?

1 Like