Click or drag to resize
Accord.NET (logo)

SampleConverterConvert Method (Int16, Single)

Converts a signed 16-bit integer sample into a 32-bit floating point sample.

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

Parameters

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