2023-11-23 09:32:16 +08:00

25 lines
981 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 语音支持
icon: microphone
---
## 安装 SILK 语音引擎
Shamrock 的语音解码器已经模块化,你可以自行选择安装。
如果未安装 SILK 语音引擎Shamrock 则无法发送 mp3/flac/wav/ogg 等格式的语音消息。
为了完整支持语音消息,你需要安装 SILK 语音引擎。
- 下载 **AudioLibrary** 语音支持库,请下载对应架构的文件,否则可能无法运行。
- 将全部文件解压到 `Shamrock 主目录` 下的 `lib` 文件夹中
> [AudioLibrary-Arm64](https://github.com/whitechi73/OpenShamrock/blob/master/AudioLibrary-arm64.zip)
> [AudioLibrary-X64](https://github.com/whitechi73/OpenShamrock/blob/master/AudioLibrary-x64.zip)
关于 `Shamrock 主目录`,请参考 [目录定义](../guide/configuration.md#目录定义)。
::: tip 提示
如果没有 `lib` 文件夹,请自行创建。
请你下载对应的正确的架构的`lib`,在模拟器上即使对应架构也可能报错?
:::