Click or drag to resize
Accord.NET (logo)

SampleConverterConvert Method (Int16, Byte)

Converts a signed 16-bit integer sample into a 8-bit unsigned byte sample.

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

Parameters

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