> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/mcu/futureboard/kittenblock/microphone.md).

# 未來板麥克風KittenBlock編程教學

來板上有一隻MEMS麥克風，連接在未來板的P10。，可以做到語音辨識的效果。

![](https://kittenbothk.readthedocs.io/en/latest/_images/kbbanner10.png)

### 麥克風積木塊

![](https://kittenbothk.readthedocs.io/en/latest/_images/microphone.png)

#### 範例程式：獲取聲音強度

![](https://kittenbothk.readthedocs.io/en/latest/_images/microphone_code1.png)

#### 範例程式：語音辨識

#### 效果可能不準確，只建議高階用家使用

未來板現時支援粵語，普通話與英語的語音辨識。

```
使用語音辨識需要網絡連接。
```

![](https://kittenbothk.readthedocs.io/en/latest/_images/microphone_code2.png)
