# Microphone

> Use this class to record to an AudioClip using a connected microphone.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public sealed class Microphone
```

## Remarks

You can get a list of connected microphones from the [Microphone.devices](/engine/6000.0/script-reference/unityengine/microphone/devices.md) property and then use the [Microphone.Start](/engine/6000.0/script-reference/unityengine/microphone/start.md) and [Microphone.End](/engine/6000.0/script-reference/unityengine/microphone/end.md) functions to start or end a recording session using one of the available devices.

**Note:** Microphone is not supported in the Unity Web player.

## Static Properties

| Property                                                                     | Description                                                 |
| ---------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [devices](/engine/6000.0/script-reference/unityengine/microphone/devices.md) | A list of available microphone devices, identified by name. |

## Static Methods

| Method                                                                                   | Description                                    |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------- |
| [End](/engine/6000.0/script-reference/unityengine/microphone/end.md)                     | Stops recording.                               |
| [GetDeviceCaps](/engine/6000.0/script-reference/unityengine/microphone/getdevicecaps.md) | Get the frequency capabilities of a device.    |
| [GetPosition](/engine/6000.0/script-reference/unityengine/microphone/getposition.md)     | Get the current recording position in samples. |
| [IsRecording](/engine/6000.0/script-reference/unityengine/microphone/isrecording.md)     | Query if a device is currently recording.      |
| [Start](/engine/6000.0/script-reference/unityengine/microphone/start.md)                 | Start Recording with device.                   |
