Click or drag to resize
Accord.NET (logo)

SignalFromArray Method (Array, Int32, Int32, SampleFormat)

Creates a new Signal from a float array.

Namespace:  Accord.Audio
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax
public static Signal FromArray(
	Array signal,
	int channels,
	int sampleRate,
	SampleFormat format = SampleFormat.Format32BitIeeeFloat
)
Request Example View Source

Parameters

signal
Type: SystemArray
channels
Type: SystemInt32
sampleRate
Type: SystemInt32
format (Optional)
Type: Accord.AudioSampleFormat

Return Value

Type: Signal
See Also