|
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
)
Public Sub New (
data As Byte(),
channels As Integer,
length As Integer,
sampleRate As Integer,
format As SampleFormat
)
Request Example
View SourceParameters
- 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