# 未來板麥克風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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub.kittenbot.hk/mcu/futureboard/kittenblock/microphone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
