WindowedInAOutA
This is a building block for window processing UGens where window parameters include
winSize
and possibly others, and will be polled per window.
Value members
Concrete methods
The default implementation clears from readOff
to the end of the window buffer.
This method is not called if fullLastWindow
returns false
!
The default implementation clears from readOff
to the end of the window buffer.
This method is not called if fullLastWindow
returns false
!
Reads in a number of frames. The default implementation copies to the window buffer.
Reads in a number of frames. The default implementation copies to the window buffer.
Inherited methods
Called after a window has been fully read in.
Called after a window has been fully read in.
- Inherited from:
- WindowedInAOutB
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
- Inherited from:
- WindowedInAOutB
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
.
- Inherited from:
- WindowedInAOutB
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.
- Inherited from:
- WindowedInAOutB
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 ``
- Inherited from:
- WindowedInAOutB