aifc.setnchannels(nchannels) 指定音频文件中的通道数。 aifc.setsampwidth(width) 指定音频样本的大小,以字节为单位。 aifc.setframerate(rate) 指定采样频率(单位为每秒帧数)。 aifc.setnframes(nframes) 指定要写入音频文件的帧数。如果没有设置该参数,或者设置不正确,则文件需要支持查找。 aifc。setcomptype(type...
audioop:处理原始音频数据aifc:读写AIFF和AIFC文件sunau:读写Sun AU文件wave:读写WAV文件chunk:读取...
(已废弃) whatsound 是 sndhdr 模块的一个别名. 9.5. aifc 模块aifc 模块用于读写 AIFF 和AIFC 音频文件(在SGI 和Macintosh 的计算机上使用). 9.6. sunau 模块sunau 模块用于读写 Sun AU 音频文件. 9.7. sunaudio 模块sunaudio 模块用于识别 Sun AU 音频文件, 并提取其基本信息. sunau 模块为 Sun AU ...
22.1. audioop——操作原始音频数据 22.2.aifc——读和写AIFF和AIFC文件 22.3.sunau——读和写 Sun AU文件 22.4.wave——读和写WAV文件 22.5.chunk——读IFF分块数据 22.6.colorsys——颜色系统之间的转换 22.7.imghdr——确定图像的类型 22.8.sndhdr——确定声音文件的类型 22.9.ossaudiodev——访问OSS-compatibl...
aifc:读写AIFF和AIFC文件 sunau:读写Sun AU文件 wave:读写WAV文件 chunk:读取IFF大文件 colorsys:颜色系统间转化 imghdr:指定图像类型 sndhdr:指定声音文件类型 ossaudiodev:访问兼容OSS的音频设备 国际化 gettext:多语言的国际化服务 locale:国际化服务
aifc:读写AIFF和AIFC文件(音频) sunau:读取和写入Sun AU文件 tarfile:读取和写入tar归档文件 zipfile:使用ZIP存档 configparser:轻松创建和解析配置文件 msilib:读取和写入Microsoft Installer文件 plistlib:生成并解析Mac OS X .plist文件 还有更多的东西。此外,PyPI还有更多第三方工具可用。以下是一些流行的包: ...
aifc:读写AIFF和AIFC文件 sunau:读写Sun AU文件 wave:读写WAV文件 chunk:读取IFF大文件 colorsys:颜色系统间转化 imghdr:指定图像类型 sndhdr:指定声音文件类型 ossaudiodev:访问兼容OSS的音频设备 国际化 gettext:多语言的国际化服务 locale:国际化服务
aifc() -- create an AIFF-C file setnchannels(n) -- set the number of channels setsampwidth(n) -- set the sample width setframerate(n) -- set the frame rate setnframes(n) -- set the number of frames setcomptype(type, name) -- set the compression type and the human-readable co...
aifc --- Read and write AIFF and AIFC files sunau --- 读写 Sun AU 文件 wave --- 读写WAV格式文件 chunk --- Read IFF chunked data colorsys --- 颜色系统间的转换 imghdr --- 推测图像类型 sndhdr --- 推测声音文件的类型 ossaudiodev --- Access to OSS-compatible audio devices ...
aifc:读写AIFF和AIFC文件 sunau:读写Sun AU文件 wave:读写WAV文件 chunk:读取IFF大文件 colorsys:颜色系统间转化 imghdr:指定图像类型 sndhdr:指定声音文件类型 ossaudiodev:访问兼容OSS的音频设备 国际化 gettext:多语言的国际化服务 locale:国际化服务