set_track_properties
Adjust track properties like volume, pan, mute, solo, and name in REAPER projects to customize audio mixing and arrangement.
Instructions
Modify one or more properties of a track.
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 | ||
| name | No | ||
| volume | No | ||
| pan | No | ||
| mute | No | ||
| solo | No | ||
| arm | No |
Implementation Reference
- src/reaper_mcp/server.py:115-142 (handler)The MCP tool registration and handler implementation in server.py.
def set_track_properties( track_index: int, name: str | None = None, volume: float | None = None, pan: float | None = None, mute: bool | None = None, solo: bool | None = None, arm: bool | None = None, ) -> dict[str, Any]: """ Modify one or more properties of a track. - volume: linear amplitude (1.0 = 0 dB) - pan: -1.0 (full left) to 1.0 (full right) """ try: return _wrap( adapter.set_track_properties( track_index=track_index, name=name, volume=volume, pan=pan, mute=mute, solo=solo, arm=arm, ) ) except Exception as exc: return _err(exc) - The adapter helper method that forwards the call to the BridgeClient.
def set_track_properties( self, track_index: int, name: str | None = None, volume: float | None = None, pan: float | None = None, mute: bool | None = None, solo: bool | None = None, arm: bool | None = None, ) -> dict[str, Any]: return self._client.call( "set_track_properties", track_index=track_index, name=name, volume=volume, pan=pan, mute=mute, solo=solo, arm=arm, )