---
title: Set up the recording
slug: api-docs-v1/set-up-the-recording
docTags: 
createdAt: 2025-08-27T11:33:36.957Z
---

The following steps will explain how you can set the recording of audio through the Autoscriber SDK.

1. [Set up the recording](docId\:rQleXkIPVvRZNDt0nQCaK)&#x20;
   .getAvailableRecordingDevices()
2. [Starting a new recording](docId:5wh0pSwfoSa99JIIJkHCT)&#x20;
   .startRecording()
3. [Set up the Autoscriber Waveform using the SDK](docId\:hVobwIXteFuCNEOXBiu6G)&#x20;
4. [Pausing a Recording](docId\:gdzIwOoPAkb4quC0FWOKk)&#x20;
   .pauseRecording()
5. [Resuming a Recording](docId\:j-bWwBOLmWf0ICeLrTM_v)&#x20;
   .resumeRecording()
6. [Stopping a Recording](docId:5b8zmU_wJ8ij0BTBaphoM)&#x20;
   .stopRecording()

## Starting a New Recording

Starting a recording using the Autoscriber SDK will automatically update Autoscriber's stateListener with the real-time transcript. You can also make use of the Autoscriber Waveform to include microphone activity detection for User Experience, see guide below.

::::CodeDrawer{title=".startRecording()" isResponseExpanded="true" autoGeneratedAnchorSlug="startrecording" legacyHash="uoDjZvo7R5UJ2qJKzbCqk"}
:::CodeblockTabsExamples
```javascript
let selectedMicrophone = microphones[0].deviceId;// Default to first available recording device for demo, and send through deviceId to the sdk

// Without waveform
scribe.startRecording(selectedMicrophone); 

// With waveform
scribe.startRecording(selectedMicrophone, waveFormConfig); 
```
:::

:::CodeblockTabsResponses
```javascript
```
:::
::::

