Delay Line
Sequence of input data to the rebuffer.
blockType: DelayLine
Path in the library:
|
Description
The Delay Line block rebuffers a sequence of input matrices to into a sequence of output matrices to , where is the output frame size specified in the Delay line size parameter. Output frames may overlap or overlap depending on whether the value of is greater than, less than, or equal to the input frame size . The block always independently performs frame-by-frame processing and rebuffers each of the input channels.
Ports
Input
In - input signal
vector
| matrix
Input signal as a vector or matrix of size to .
Data types: Float32
, Float64
, Int8
, Int16
, Int32
, UInt8
, UInt16
, UInt32
, Bool
.
Output
Out - output signal
vector
| matrix
Rebuffered output signal as a vector or matrix of size to .
If , then the overlap of the output frame is equal to the difference between the output and input frame size: .
If , the output frame is overlapped and the Delay Line block discards the first samples of each input frame so that only the last samples are buffered into the corresponding output frame.
If , the output data is identical to the input data, but delayed by the block delay. Because of the block delay, the output data is always delayed by one frame, which is specified in the Initial conditions parameter.
The output frame period is equal to the input frame period ( ). Thus, the output sample period of is equal to or equivalent to .
In the most typical case, each output differs from the previous one by only one sample, as shown below for a scalar input.
Note that the first output of the block in the above example is solid zeros, this is because the Initial Conditions parameter has a zero value.
Data types: Float32
, Float64
, Int8
, Int16
, Int32
, UInt8
, UInt16
, UInt32
, Bool
.
Parameters
Delay line size - delay line size
64 (by default)
| ` positive integer`
Specify the number of rows in the output matrix as a positive integer.
Initial conditions - initial conditions
0 (by default)
| scalar
| vector
| matrix
Specify the value of the initial output of the block as a scalar, vector, or matrix. The Delay Line block buffer is initialised with the value specified by the Initial conditions parameter. The block outputs this buffer at the first step of the simulation ( ).
If the block outputs a vector, the Initial conditions parameter can be a vector of the same size or a scalar value that will be repeated for all elements of the initial output. If the block outputs a matrix, Initial conditions can be a matrix of the same size, a vector (of length equal to the number of rows of the matrix) that will be repeated for all columns of the initial output, or a scalar value that will be repeated for all elements of the initial output.