Click or drag to resize
Accord.NET (logo)

SignalFromArray Method (Array, Int32, SampleFormat)

Creates a new Signal from a float array.

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

Parameters

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

Return Value

Type: Signal
See Also