# isRealtime

> Declare whether this GeneratorInstance must be treated as a source rendering in real time. Realtime generators must be processed at the same sampling rate and buffer size as the system they run in.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Audio](/engine/6000.6/script-reference/unityengine/audio.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
bool isRealtime { get; }
```

### Remarks

Realtime [GeneratorInstance](/engine/6000.6/script-reference/unityengine/audio/generatorinstance.md)s shall return the same output every time they are processed. Additionally, the system enforces the buffer size of the passed-in [ChannelBuffer](/engine/6000.6/script-reference/unityengine/audio/channelbuffer.md) equals the length of the bufferSize that the [ControlContext](/engine/6000.6/script-reference/unityengine/audio/controlcontext.md) runs in.

Use cases include hardware devices that cannot be rendered at arbitrary rate, or systematic graphs that render ahead of time. If you are not sure whether your [GeneratorInstance](/engine/6000.6/script-reference/unityengine/audio/generatorinstance.md) is realtime or not, you should set this to false.

Additional Resources: GeneratorInstance.IControl\<TRealtime>.Configure
