# forceToMono

> Force audioclips to mono sound type, so all audio plays through a single channel.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public bool forceToMono { get; set; }
```

### Examples

```csharp
using UnityEngine;
using UnityEditor;

public class Example : AssetPostprocessor
{
    void OnPreprocessAudio()
    {
        AudioImporter audioImporter = assetImporter as AudioImporter;
        if (assetPath.Contains("mono"))
        {
            audioImporter = assetImporter as AudioImporter;
            audioImporter.forceToMono = true;
        }
    }
}
```
