Click or drag to resize
Accord.NET (logo)

SampleConverterConvert Method (Int16, Byte)

Converts a array of signed 16-bit integer samples into a array of 8-bit unsigned byte samples.

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

Parameters

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