Table of Contents

Class Signal

Namespace
Bonsai.Mixer
Assembly
Bonsai.Mixer.dll

Represents a signal that generates successive blocks of samples on demand.

public abstract class Signal
Inheritance
Signal
Inherited Members

Remarks

A signal fills a caller-provided buffer and never allocates, blocks, or throws while running on the audio thread. The mixer pulls a signal once per processing block.

Methods

Generate(Span<float>)

Generates the next block of samples into the specified buffer.

Reset()

Resets the signal to its initial state.