> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/snap-to-place/audio-recorder.md).

# Audio Recorder

## Blocks

### Start Timed Recording

Records for a set amount of time in seconds. Can type number of seconds into ghost block. Can also use [Math](/snap-to-place/math.md) blocks or [variables](/snap-to-place/variables.md) to set this time.

![](/files/-MYdhzUawH0FP2CXrm_D)

#### Outputs

| Name      | Data Type | Data                                          |
| --------- | --------- | --------------------------------------------- |
| audioFile | Sound     | Sound from recording                          |
| error     | Text      | if error, returns error; else, returns `null` |

### Start Recording/Stop Recording

Create an untimed recording.&#x20;

![](/files/-MYdildHB6ZAi_v27rAS)

#### Start Recording Output

| Name  | Data Type | Data                                          |
| ----- | --------- | --------------------------------------------- |
| error | Text      | if error, returns error; else, returns `null` |

#### Stop Recording Outputs

| Name      | Data Type | Data                                          |
| --------- | --------- | --------------------------------------------- |
| audioFile | Sound     | Sound from recording                          |
| error     | Text      | if error, returns error; else, returns `null` |
