# SendMessage<T>(ProcessorInstance, ref T)

> Send a message with a piece of data to be immediately evaluated by the ProcessorInstance.IControl<TRealtime>.OnMessage.

## Definition

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

## SendMessage\<T>(ProcessorInstance, T)

```csharp
public ProcessorInstance.Response SendMessage<T>(ProcessorInstance processorInstance, ref T message) where T : unmanaged
```

### Parameters

**** (\[ProcessorInstance]\(/engine/6000.7/script-reference/unityengine/audio/processorinstance)): **** (T):&#x20;

### Returns

| Type                                                                                        | Description                                                                                                                                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Response](/engine/6000.7/script-reference/unityengine/audio/processorinstance/response.md) | [ProcessorInstance.Response.Handled](/engine/6000.7/script-reference/unityengine/audio/processorinstance/response/handled.md) if `processorInstance` acknowledged and processed the message, [ProcessorInstance.Response.Unhandled](/engine/6000.7/script-reference/unityengine/audio/processorinstance/response/unhandled.md) if not or ignored. |

### Remarks

The `message` will be passed to the `processorInstance` by reference, so the `processorInstance` can modify it.
