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