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
effects_framework [2015/06/19 10:38]
ferranpujolcamins Added Ferran's comment
effects_framework [2015/07/03 00:57]
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 GUI or MIDI Script author does not care about choosing correct values, he or she can use the parameterK_value_normalized control, ​which will always represent ​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^
-| None | 0 | No linking. ​+| None | 0 | Not controlled by the super knob 
-| Linked | 1 | Linked in a linear ​relation+| Linked | 1 | Controlled by the super knob as it is | 
-| Inverse ​ | | Linked in an inverse-linear ​relation. |+| Linked Left  | 2 | Controlled by the left side of the super knob | 
 +| Linked Right  | 3 | Controlled by the right side of the super knob | 
 +| Linked Left Right  | 4 | Controlled by both sides of the super knob | 
 + 
 + 
 +^Link Inverse^Integer Value^Intepretation^ 
 +| Normal | 0 | Linked in equal relation | 
 +| Inverse ​ | | Linked in an inverse relation. | 
  
  
effects_framework.txt · Last modified: 2015/07/03 00:57 by daschuer