Table of Contents

Class FunctionGenerator

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that generates signal waveforms following any of a set of common periodic functions.

public class FunctionGenerator : Source<Mat>
Inheritance
FunctionGenerator
Inherited Members

Properties

Amplitude

Gets or sets the amplitude of the signal waveform.

BufferLength

Gets or sets the number of samples in each output buffer.

Depth

Gets or sets the bit depth of each element in an output buffer.

DepthSpecified

Gets a value indicating whether the Depth property should be serialized.

Frequency

Gets or sets the frequency of the signal waveform, in Hz.

Offset

Gets or sets the optional DC-offset of the signal waveform.

Phase

Gets or sets the optional phase offset, in radians, of the signal waveform.

SampleRate

Gets or sets the sampling rate of the generated signal waveform, in Hz.

Waveform

Gets or sets a value specifying the periodic waveform used to sample the signal.

Methods

Generate()

Generates an observable sequence of buffers sampled from a signal waveform following the specified periodic function.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of buffers sampled from a signal waveform following the specified periodic function, and where each new buffer is emitted only when an observable sequence emits a notification.