Programmer Guide/SPU Reference/MIX: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Mix inputs (weighted addition). | |||
==<code>[SPU MIX <var>A KA B KB</var> OUT <var>Y</var>]</code>== | ==<code>[SPU MIX <var>A KA B KB</var> OUT <var>Y</var>]</code>== | ||
{|class="einrahmen" | {|class="einrahmen" | ||
Line 14: | Line 14: | ||
|} | |} | ||
with: 0 ≤ i < length of <var>A<sub>vector</sub></var> | with: 0 ≤ i < length of <var>A<sub>vector</sub></var> | ||
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 | |
Avector, Bvector | Yvector |
with: 0 ≤ i < length of Avector
The inputs KA and KB (mix/weighting factors) must be numbers.
- See also
<SP-atoms>