PCM audio data bit depth converter
node.js Stream utility to convert PCM audio data bit depth from 16-bit to 32-bit or 32-bit to 16-bit.
Usage
var fs = ;var Converter = From16To32Bit; var reader = fs;var writer = fs;var converter = ; reader;converter;
Class: From16To32Bit
From16To32Bit
is a Transformer stream.
new From16To32Bit()
Create a new instance of a converter stream handler to convert 16-bit PCM audio data to 32-bit.
Class: From32To16Bit
From32To16Bit
is a Transformer stream.
new From32To16Bit()
Create a new instance of a converter stream handler to convert 32-bit PCM audio data to 16-bit.