set_track_send
Adjust volume and pan settings for track sends in REAPER projects to control audio routing and balance within your mix.
Instructions
Set the volume and/or pan of a track send.
volume: linear amplitude (1.0 = 0 dB)
pan: -1.0 (full left) to 1.0 (full right)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | ||
| send_index | Yes | ||
| volume | No | ||
| pan | No |
Implementation Reference
- src/reaper_mcp/reaper_adapter.py:492-505 (handler)Handler implementation in the adapter, which forwards the call to the BridgeClient.
def set_track_send( self, track_index: int, send_index: int, volume: float | None = None, pan: float | None = None, ) -> dict[str, Any]: return self._client.call( "set_track_send", track_index=track_index, send_index=send_index, volume=volume, pan=pan, ) - src/reaper_mcp/server.py:923-944 (registration)Tool registration and entry point wrapper.
def set_track_send( track_index: int, send_index: int, volume: float | None = None, pan: float | None = None, ) -> dict[str, Any]: """ Set the volume and/or pan of a track send. - volume: linear amplitude (1.0 = 0 dB) - pan: -1.0 (full left) to 1.0 (full right) """ try: return _wrap( adapter.set_track_send( track_index=track_index, send_index=send_index, volume=volume, pan=pan, ) ) except Exception as exc: return _err(exc)