摘要:
1. 从 二进制 pcm 文件中读取数据,并转化位想要的矩阵数组 with open(audioPath, 'rb') as f: audioData = np.fromfile(f, dtype = np.uint16) audioData.shape = -1, 8 转换的音频数据是 不确定行, 阅读全文
摘要:
1. 从 二进制 pcm 文件中读取数据,并转化位想要的矩阵数组 with open(audioPath, 'rb') as f: audioData = np.fromfile(f, dtype = np.uint16) audioData.shape = -1, 8 转换的音频数据是 不确定行, 阅读全文
摘要:
两种方法: 1. 启动的时候,使用命令启动 LC_CTYPE=zh_CN.UTF-8 emacs $@ 2. 设置 bashrc LC_CTYPE = zh_CN.utf8 或者 UTF-8 参考: https://www.douban.com/group/topic/29718313/ 阅读全文
|