User Tools

Site Tools


effects_framework

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
effects_framework [2015/07/03 00:41]
daschuer [Controls]
effects_framework [2015/07/03 00:53]
daschuer [Controls]
Line 208: Line 208:
 === Parameter Values === === Parameter Values ===
  
-Since the Control system is not capable of representing values other than numeric values, for the first iteration of the effects system, we must use a numeric coding system for representing the parameter types. If the MIDI Script author does not care about choosing correct values, he or she can use setParameter() which represents the parameter value as normalized to the range of 0.0 to 1.0. To use the parameterK_value control, the setter must check the value against parameterK_type (see the Parameter Types table below), parameterK_value_min,​ and parameterK_value_max to ensure the value is within the correct range. Invalid settings of any parameterK_value controls will be ignored. +Since the Control system is not capable of representing values other than numeric values, for the first iteration of the effects system, we must use a numeric coding system for representing the parameter types. If the MIDI Script author does not care about choosing correct values, he or she can use setParameter() which represents the parameter value as normalized to the range of 0.0 to 1.0. 
 ^Parameter Value Type^Integer Value^Intepretation^ ^Parameter Value Type^Integer Value^Intepretation^
 | Boolean | 0 | Set only to values of 0 (false) or 1 (true) | | Boolean | 0 | Set only to values of 0 (false) or 1 (true) |
Line 217: Line 216:
 === Linking Values === === Linking Values ===
  
-Effect parameters can be linked to their EffectChain'​s super-parameters. This linkage can be user-controlled by changing the ''​link_type''​ control of the EffectParameter slot. The default link type is loaded from the effect parameter'​s manifest'​s ''​linkHint''​ property.+Effect parameters can be linked to their EffectChain'​s super-parameters. This linkage can be user-controlled by changing the ''​link_type''​ and the ''​link_inverse''​ control of the EffectParameter slot. The default link type is loaded from the effect parameter'​s manifest'​s ''​linkHint''​ property.
  
 ^Link Type^Integer Value^Intepretation^ ^Link Type^Integer Value^Intepretation^
Line 223: Line 222:
 | Linked | 1 | Linked in a linear relation. | | Linked | 1 | Linked in a linear relation. |
 | Inverse ​ | 2 | Linked in an inverse-linear relation. | | Inverse ​ | 2 | Linked in an inverse-linear relation. |
 +
 +
 +^Link Inverse^Integer Value^Intepretation^
 +| Normal | 0 | Linked in equal relation |
 +| Inverse ​ | 1 | Linked in an inverse relation. |
 +
  
  
effects_framework.txt · Last modified: 2015/07/03 00:57 by daschuer