Table of Contents

Class MatrixReader

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that generates a sequence of signal sample buffers from the specified raw binary input stream.

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

Properties

BufferLength

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

ChannelCount

Gets or sets the number of channels in the stored signal.

Depth

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

Layout

Gets or sets a value specifying the sequential memory layout used to store the sample buffers.

Offset

Gets or sets the byte offset at which to start reading the raw binary file.

Path

Gets or sets the identifier of the named stream from which to read the samples.

SampleRate

Gets or sets the sample rate of the stored signal, in Hz.

Methods

Generate()

Generates an observable sequence of signal sample buffers from the specified raw binary input stream.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of signal sample buffers from the specified raw binary input stream, where each new buffer is emitted only when an observable sequence emits a notification.