|
SignalFromArray Method (Array, Int32, 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 size,
int channels,
int sampleRate,
SampleFormat format = SampleFormat.Format32BitIeeeFloat
)
Public Shared Function FromArray (
signal As Array,
size As Integer,
channels As Integer,
sampleRate As Integer,
Optional format As SampleFormat = SampleFormat.Format32BitIeeeFloat
) As Signal
Request Example
View SourceParameters
- signal
- Type: SystemArray
- size
- Type: SystemInt32
- channels
- Type: SystemInt32
- sampleRate
- Type: SystemInt32
- format (Optional)
- Type: Accord.AudioSampleFormat
Return Value
Type:
SignalSee Also