WindowedInA1A2OutB
This is a building block for window processing UGens with two main inputs,
where window parameters include
winSize
and possibly others, and will be polled per window.
Value members
Abstract methods
Tries to prepare the parameters for the next window.
If successful, returns true
otherwise false
. If successful,
it must be possible to successively call winBufSize
.
Tries to prepare the parameters for the next window.
If successful, returns true
otherwise false
. If successful,
it must be possible to successively call winBufSize
.
The size for the window buffer, or zero if this buffer should no be used.
This can be polled multiple times per window, the element might thus need to be saved
(in tryObtainWinParams()
). In most cases, it will be sufficient to poll the value
in tryObtainWinParams
and implement winBufSize
by calling the value
method of the
corresponding input handler.
The size for the window buffer, or zero if this buffer should no be used.
This can be polled multiple times per window, the element might thus need to be saved
(in tryObtainWinParams()
). In most cases, it will be sufficient to poll the value
in tryObtainWinParams
and implement winBufSize
by calling the value
method of the
corresponding input handler.
Concrete methods
The default number of frames to read in per window equals the window buffer size
The default number of frames to read in per window equals the window buffer size
The number of frames to write out per window. This is polled once after processWindow
.
The default equals the window buffer size (winBufSize
).
If an implementation wants to truncate the last window when the input terminates,
it should override fullLastWindow
to return false
, in which case the default
implementation of writeWinSize
will return ``
The number of frames to write out per window. This is polled once after processWindow
.
The default equals the window buffer size (winBufSize
).
If an implementation wants to truncate the last window when the input terminates,
it should override fullLastWindow
to return false
, in which case the default
implementation of writeWinSize
will return ``