|
SampleConverterConvert Method (Single, Int16)
|
Converts a 32-bit float sample
into a 16-bit integer sample.
Namespace:
Accord.Audio
Assembly:
Accord.Audio (in Accord.Audio.dll) Version: 3.8.0
Syntax public static void Convert(
float from,
out short to
)
Public Shared Sub Convert (
from As Single,
<OutAttribute> ByRef to As Short
)
Request Example
View SourceParameters
- from
- Type: SystemSingle
The original sample. - to
- Type: SystemInt16
The resulting sample.
See Also