STEPS
From STX Wiki
Jump to navigationJump to search
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>