# Sandbox.Speech.Synthesizer.WithRate

```csharp
Synthesizer WithRate(int rate)
```

Sets the playback rate of the synthesizer.

### Parameters

- `rate` (`int`)

### Returns

`Synthesizer`

Declared in [Sandbox.Speech.Synthesizer](/api/Sandbox.Speech.Synthesizer).
Assembly: `Sandbox.Engine`.
