Click or drag to resize
Accord.NET (logo)

SampleConverterConvert Method (Int32, Int16)

Converts a array of signed 32-bit integer samples into a array of 16-bit signed integer samples.

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

Parameters

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