Skip to main content
Glama

normalize_track

Adjust track volume to achieve target loudness by measuring LUFS and applying gain, supporting streaming, broadcast, and podcast standards.

Instructions

Normalize a track to a target integrated loudness by measuring its current LUFS via a non-destructive dry-run render, then adjusting the track fader.

  • target_lufs: desired integrated loudness in LUFS (default -14.0, streaming standard). Use -23.0 for EBU R128 broadcast, -16.0 for podcast. Returns measured_lufs_i, gain_applied_db, and old/new fader volumes. The change is registered in REAPER's undo history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
start_timeYes
end_timeYes
target_lufsNo

Implementation Reference

  • The MCP tool registration and entry point for 'normalize_track'. It wraps the adapter call.
    @mcp.tool()
    def normalize_track(
        track_index: int,
        start_time: float,
        end_time: float,
        target_lufs: float = -14.0,
    ) -> dict[str, Any]:
        """
        Normalize a track to a target integrated loudness by measuring its current
        LUFS via a non-destructive dry-run render, then adjusting the track fader.
        - target_lufs: desired integrated loudness in LUFS (default -14.0, streaming standard).
          Use -23.0 for EBU R128 broadcast, -16.0 for podcast.
        Returns measured_lufs_i, gain_applied_db, and old/new fader volumes.
        The change is registered in REAPER's undo history.
        """
        try:
            return _wrap(
                adapter.normalize_track(
                    track_index=track_index,
                    start_time=start_time,
                    end_time=end_time,
  • The implementation of the adapter method 'normalize_track', which invokes the remote client call.
    def normalize_track(
        self,
        track_index: int,
        start_time: float,
        end_time: float,
        target_lufs: float = -14.0,
    ) -> dict[str, Any]:
        return self._client.call(
            "normalize_track",
            track_index=track_index,
            start_time=start_time,
            end_time=end_time,
            target_lufs=target_lufs,
        )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielkinahan/ReaMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server