Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/SlidingWindow.h |
| Include | #include "DSP/SlidingWindow.h" |
Syntax
template<typename InSampleType>
class TSlidingBuffer
Remarks
TSlidingBuffer defines the window size and hop size of the sliding window, and it stores any samples needed to produce additional windows.
TSlidingBuffer should be used in conjunction with the TSlidingWindow, TScopedSlidingWindow or TAutoSlidingWindow classes.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TSlidingBuffer
(
const int32 InNumWindowSamples, |
Constructs a TSlidingBuffer with a constant window and hop size |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Returns the number of samples between windows. | ||
| int32 | Returns the number of samples in a window. | ||
| void | Reset () |
Resets the internal storage. | |
| void | StoreForFutureWindows
(
TArrayView< const InSampleType > InBuffer |
StoreForFutureWindows stores the necessary samples from InBuffer which will be needed for future windows. |