<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Scene](./smwebsdk.scene.md) &gt; [startRecognize](./smwebsdk.scene.startrecognize.md)

## Scene.startRecognize() method

Start the speech to text recognizer

**Signature:**

```typescript
startRecognize(audioSource?: AudioSourceTypes): Promise<any>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  audioSource | AudioSourceTypes | _(Optional)_ The audio source either smwebsdk.audioSource.processed or smwebsdk.audioSource.squelched, defaults to processed. |

**Returns:**

Promise&lt;any&gt;

