🔥 Lifetime deal! Get Control Surface Studio for Just £67 👉 Click Here To Get It
Time left... mailtimers.com
⚠️ Lifetime licenses are ending soon, get yours before they're gone ⚠️
Your shopping cart is empty.

How to set modifier m2 = m1 + 1 ?

Submitted by nasca on Thu, 09/15/2022 - 08:26
nasca
Control Surface Studio User

Hello,

I have a reaction that set modifier 1 m1 to the selected track.

Then I want to make another reaction so that :

m2 = m1 +1
m3 = m1 +2

etc

What is the custom code to input in reaction?
I dont know Python 3.

Thank you !

Topic Category: 

1 Responses

Comments

JohnC
Forum Admin
#1

self.set_modifier_value is used to set the value of a modifier
And you get the value of a modifier with self.get_modifier_value
m2 = m1 +1 would be constructed like this...
self.set_modifier_value("m1", self.get_modifier_value("m2") + 1)