Click or drag to resize
Accord.NET (logo)

SampleConverterConvert Method (Byte, Int16)

Converts an array of unsigned 8-bit byte samples into an array of 16-bit short integer samples.

Namespace:  Accord.Audio
Assembly:  Accord.Audio (in Accord.Audio.dll) Version: 3.6.0
Syntax
public static void Convert(
	byte[] from,
	short[] to
)
Request Example View Source

Parameters

from
Type: SystemByte
The original sample.
to
Type: SystemInt16
The resulting sample.
See Also