Table of Contents

Method Generate

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

Generate(Span<float>)

Generates the next block of samples into the specified buffer.

public abstract void Generate(Span<float> buffer)

Parameters

buffer Span<float>

The buffer to fill. The signal writes one value for each element and advances its internal state by that number of samples. The buffer is owned by the caller and must not be retained beyond the call.