---
id: "T:cAlgo.API.SoundType"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Notifications/SoundType/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# SoundType (enum)

An enum containing various constants representing different built-in sounds for notifications.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum SoundType
```

## Examples

C#:

```csharp
var result = ExecuteMarketOrder(TradeType.Buy, SymbolName, Symbol.VolumeInUnitsMin);
Notifications.PlaySound(result.IsSuccessful ? SoundType.PositiveNotification : SoundType.NegativeNotification);
```

Python:

```python
result = api.ExecuteMarketOrder(TradeType.Buy, api.SymbolName, api.Symbol.VolumeInUnitsMin)
api.Notifications.PlaySound(SoundType.PositiveNotification if result.IsSuccessful else SoundType.NegativeNotification)
```

## Values

- `SoundType.PositiveNotification` — Positive Notification sound.
- `SoundType.NegativeNotification` — Negative Notification sound.
- `SoundType.Announcement` — Announcement sound.
- `SoundType.Doorbell` — Door bell sound.
- `SoundType.Confirmation` — Confirmation sound.

