Programmer Guide/SPU Reference/STEPS: Difference between revisions
From STX Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
|} | |} | ||
with: 0 ≤ i < <var>N</var> | with: 0 ≤ i < <var>N</var> | ||
;See also: | |||
<[[../#Signal Processing Atoms|SP-atoms]]> | |||
<!-- AN, 2.5.2011 --> | |||
Latest revision as of 13:02, 9 May 2011
Generate a equidistant or constant-Q scale.
[SPU STEPS X DX N TYP OUT Y]
| input | description | data type | value type | default value |
|---|---|---|---|---|
| X | start value | number | variable | |
| DX | increment or ratio | number | variable | |
| N | output vector length | number, vector | constant | |
| TYP | scale type ( ARITHMETICAL, GEOMETRICAL) |
number (int.), string | constant | 0 (= ARITHMETICAL)
|
| output | description | data type | value type | comment |
| Y | scale vector | vector | variable |
Note:
- If N is a vector, the output length is set to the length of N.
- Description
| TYP | Y |
|---|---|
0 or ARITHMETICAL
|
Y[i] = X + i*DX |
1 or GEOMETRICAL
|
Y[i] = X *DXi |
with: 0 ≤ i < N
- See also
<SP-atoms>