Programmer Guide/SPU Reference/MIX: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
with: 0 &le; i &lt; length of <var>A<sub>vector</sub></var>
with: 0 &le; i &lt; length of <var>A<sub>vector</sub></var>


The inputs <var>KA</var> and <var>KN</var> (mix/weighting factors) are always numbers.
The inputs <var>KA</var> and <var>KB</var> (mix/weighting factors) must be numbers.
;See also:
;See also:
<[[../#Signal Processing Atoms|SP-atoms]]>
<[[../#Signal Processing Atoms|SP-atoms]]>
<!-- AN, 2.5.2011 -->
<!-- AN, 2.5.2011 -->

Latest revision as of 09:34, 6 May 2011

Mix inputs (weighted addition).

[SPU MIX A KA B KB OUT Y]

In Out Description
Anumber, Bnumber Ynumber {\displaystyle Y=A.KA+B.KB}
Avector, Bvector Yvector {\displaystyle Y[i]=A[i].KA+B[i].KB}

with: 0 ≤ i < length of Avector

The inputs KA and KB (mix/weighting factors) must be numbers.

See also

<SP-atoms>

Navigation menu

Personal tools