Programmer Guide/SPU Reference/VMERGE: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
VMERGE - merge numbers/vectors
Usage:
VMERGE1 x l s
Inputs:
- x
- The number or vector to be merged
- l
- The length of the output vector
- s
- The shift value
Outputs:
- y
- The merged vector
- n
- The number of finished vectors
Function:
This atom merges the input data into a larger block. E.g. it can be used to convert outputs of sample generators into a buffer.
The verge function, controlled by type of data input x{| |- |Type of x |description |- |number |The numbers are shifted into the output vector with l elements. After each s samples the outputs vector is sent to the connected atoms/SPUs. l must be greater than 1 and the shift value s must be in the range 1 <= s <= l. |- |vector |The input vectors are shifted into the output vector with l elements. The output is sent after each input. As shift the length or the input vector is used. |}