---
title: Starting a new recording
slug: api-docs-v1/starting-a-new-recording
docTags: 
createdAt: 2025-08-27T11:46:23.854Z
---

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="BdujM34TmLgjViz5S2dCM"}
:::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
```
:::
::::

It must be noted that when testing the integration using a test recording, the recording must be over 30 seconds and include some medical information in order to properly generate an output.
