PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.util
/
AudioUtil
/
floatsRangeToShort
floats
Range
To
Short
open
fun
floatsRangeToShort
(
input
:
Array
<
Float
>
)
:
Array
<
Short
>
Converts floats in the range [-1, 1] to shorts.
Return
The shorts.
Parameters
input
The float array to convert.