Encode an array of 16-bit PCM samples into 8-bit μ-Law samples.
Int16Array of PCM samples
A new Uint8Array of μ-Law data
Encode an array of 16-bit PCM samples into 8-bit μ-Law samples.