Click or drag to resize
Accord.NET (logo)

Signal Constructor (Byte, Int32, Int32, Int32, SampleFormat)

Constructs a new signal.

Namespace:  Accord.Audio
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
public Signal(
	byte[] data,
	int channels,
	int length,
	int sampleRate,
	SampleFormat format
)
Request Example View Source

Parameters

data
Type: SystemByte
The raw data for the signal.
channels
Type: SystemInt32
The number of channels for the signal.
length
Type: SystemInt32
The length of the signal.
sampleRate
Type: SystemInt32
The sample date of the signal.
format
Type: Accord.AudioSampleFormat
The sample format for the signal.
See Also