Envelope LoopStart default value might be wrong

Use this forum for an overview of collected bugs and to report new ones.
Post Reply
Posts: 236
Joined: Fri Nov 14, 2014 11:41 am

Envelope LoopStart default value might be wrong

Post by AposMus »

If you get the parameter definition of an envelope LoopStart parameter, its default value returns as 1.
However if you try and set the parameter to that value you get an error.

Most parameters can be reset with the paramDef.default value, but not LoopStart though.

Code: Select all

zone = this.parent:getZone()
def = zone:getParameterDefinition('Amp Env.LoopStart')
zone:setParameter(def.name, def.default)
raises this error : Error: Line 3: The value must be greater than 1 and smaller than the number of envelope points 4: zone:setParameter(def.name, def.default)
Windows 10 Pro
Cubase Pro 11
Halion 6.4
Dark Planet

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 2 guests