字节到 Numpy Int16 数组中

Are*_*ski 6 numpy pyaudio python-3.x

如何将来自 pyaudio(字节对象)的音频样本转换为有符号 int16 样本的 numpy 数组?