MIX

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 09:34, 6 May 2011 by 193.171.195.48 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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