# Supported Audio Formats

> This document is for checking the SDK and supported audio formats.

Source: https://soe.dolphinvoice.ai/en/docs/public/datadict/format

- This document is for checking the SDK and supported audio formats.

| Parameter | opus\_raw | pcm | wav | mp3 | amr | ogg | m4a | speex\_wechat |
| - | - | - | - | - | - | - | - | - |
| Number of Channels | Mono | Mono | Mono | Mono | Mono | Mono | Mono | Mono |
| Bit Depth | N/A | 16 bit | 16 bit | N/A | N/A | N/A | N/A | N/A |
| Sample Rate | 16000 Hz | 16000 Hz | 16000 Hz | 16000 Hz | 16000 Hz | 16000 Hz | 16000 Hz | 8000 Hz |
| **SDK Platform/API Support** | | | | | | | | |
| Android | Built-in recording support | Manual data transfer support | Manual data transfer support | | | | | |
| iOS | Built-in recording support | Manual data transfer support | Manual data transfer support | | | | | |
| ohos | | Supported | Supported | Supported | | | | |
| Mini Programs | | Supported | Supported | Supported | | | | |
| H5 | | | | Supported | | | | |
| Linux | | Supported | Supported | Supported | | | | |
| H5 (JavaScript) | | Supported | Supported | Supported | | | | |
| WeChat H5 | | | | Supported | Supported | | | Supported |
| WebSocket | Supported | Supported | Supported | Supported | | | | |
| HTTP | Supported | Supported | Supported | Supported | Supported | Supported | Supported | Supported |

- opus\_raw is the raw opus encoding format not encapsulated by the ogg container. It can maximize the retention of valid voice information while reducing the transmission bandwidth.
- speex\_wechat is the WeChat high-definition audio format obtained through the [WeChat high-definition voice material acquisition interface](https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_temporary_materials.html).
- The amr format limits the sample rate to 8000 Hz, but please pass the parameter `format = 16000` when requesting the HTTP interface.