InfluxMix receives influence values for named control parameters from an unlimited number of named sources, and merges them into one set of output param values. Within an InfluxMix each named source has its own trust factor. This can be used to have multiple control sources (e.g. human interfaces) influence the same process simultaneously.
the default for the function by which the influences in an InfluxMix get merged. this creates a linear sum which is then scaled by numOfValues ** damping. This means that a damping value of 0 is the full linear sum, damping 0.5 means the sum is scaled by numOfValues.sqrt, and damping 1 is linear average.
make a new InfluxMix, optionally giving it parameter names.
the dictionary of incoming influence values
the dictionary of output influence values
the dictionary of weights for each named source.
exert an influence on a named param of the InfluxMix.
who |
name of the source exerting the influence |
... keyValPairs |
pairs of key, val, key, val |
add or set a trust value for a named source.
get and set the function by which values are merged. By default, a kind of equal power panning is used.
get and set the a damping factor for mergeFunc. the default mergeFunc uses this as an exponent for scaling by numOfValues ** damping. Here, damping 0 is full linear sum, damping 0.5 means scale sum by numOfValues.sqrt, and damping 1 is linear average.