Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP > API/Runtime/SignalProcessing/DSP/FSinOsc2DRotation
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h |
| Include | #include "DSP/Dsp.h" |
void GenerateBuffer
&40;
float SampleRate,
float ClampedFrequency,
float &42; Buffer,
int32 BufferSampleCount
&41;
Remarks
Generates the sine tone, continuing from the last phase.
Parameters
| Name | Description |
|---|---|
| SampleRate | the sample rate the buffer will be played at |
| ClampedFrequency | the frequency of the tone to emit, clamped to nyquist (SampleRate/2) |
| Buffer | the output buffer |
| BufferSampleCount | the number of samples in the buffer. Generally, this should be %4 granularity. |