I am trying to write a mixer file and I am confused about how the parameters work.
Here’s the documentation for a summing mixer:
M: [control count]
O: [-ve scale] [+ve scale] [offset] [lower limit] [upper limit]
S: [group] [index] [-ve scale] [+ve scale] [offset] [lower limit] [upper limit]
I understand the [group] and [index] portion of the summing element. I am a little confused by the other 5 parameters.
Do [-ve scale] and [+ve scale] represent the absolute maximum values that come from the channel? Ex: Throttle input would be 0 to 2000, so:
S: 0 3 0 10000
Continuing with the throttle example, if i want my entire throttle output to be mapped to 1000 to 1800, I assume I use [offset] [lower limit] [upper limit] to scale it. So:
S: 0 3 0 10000 0 5000 9000
Now if I am on the right track, I’ll continue by adding another input channel to the mixer.
M: 2
O: …
S: 0 2 -10000 10000 0 -10000 10000
S: 0 3 0 10000 0 5000 9000
I believe this scales the throttle channel and sums it with an unscaled yaw channel. Now to send those on the output:
M: 2
O: -5000 19000 0 -10000 10000
S: 0 2 -10000 10000 0 -10000 10000
S: 0 3 0 10000 0 5000 9000
I used [-ve scale] of -5000 because that’s the minimum sum for the two channels and [+ve scale] of 19000 using the same reasoning.
Am I demonstrating how to use these parameters in the mixer definition? Any help is appreciated. Thanks!