alkove.to_int16
to_int16(pcm: Any) -> np.ndarrayFloat samples to int16 as the web SDK writes them: clipped, scaled by 32768 below zero and 32767 above, truncated.
to_int16(pcm: Any) -> np.ndarrayFloat samples to int16 as the web SDK writes them: clipped, scaled by 32768 below zero and 32767 above, truncated.