Skip to main content
Glama

analyze_master_loudness

Measure the integrated, short-term, and momentary loudness of your master mix within a specified time range using a non-destructive render. Returns LUFS and true peak values for audio mastering.

Instructions

Measure the loudness of the full master mix over a time range using a non-destructive dry-run render (action 42441). No tracks or files are created. Returns:

  • lufs_i: integrated loudness in LUFS

  • lufs_s_max: maximum short-term loudness in LUFS

  • lufs_m_max: maximum momentary loudness in LUFS

  • true_peak_db: true peak in dBTP

  • raw_stats: raw key=value string from REAPER for any additional fields

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_timeYes
end_timeYes

Implementation Reference

  • The MCP tool registration and handler entry point for 'analyze_master_loudness'.
    @mcp.tool()
    def analyze_master_loudness(
        start_time: float,
        end_time: float,
    ) -> dict[str, Any]:
        """
        Measure the loudness of the full master mix over a time range using a
        non-destructive dry-run render (action 42441). No tracks or files are created.
        Returns:
        - lufs_i: integrated loudness in LUFS
        - lufs_s_max: maximum short-term loudness in LUFS
        - lufs_m_max: maximum momentary loudness in LUFS
        - true_peak_db: true peak in dBTP
        - raw_stats: raw key=value string from REAPER for any additional fields
        """
        try:
            return _wrap(adapter.analyze_master_loudness(start_time=start_time, end_time=end_time))
        except Exception as exc:
            return _err(exc)
  • The adapter implementation that forwards the 'analyze_master_loudness' call to the REAPER client.
    def analyze_master_loudness(self, start_time: float, end_time: float) -> dict[str, Any]:
        return self._client.call("analyze_master_loudness", start_time=start_time, end_time=end_time)

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