Skip to main content
Glama

get_envelope_points

Extract automation envelope points from REAPER track envelopes to access time, value, shape, and tension data for audio parameter control.

Instructions

Read all automation envelope points from a track envelope. Identify the envelope by name (e.g. 'Volume', 'Pan', 'Mute') or by 0-based envelope_index. Using envelope_name is preferred and works even if the envelope is not yet visible/armed in the REAPER UI. Returns envelope name and list of points with time, value, shape, tension.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
envelope_indexNo
envelope_nameNo

Implementation Reference

  • The MCP tool handler function for 'get_envelope_points', which registers the tool and calls the adapter.
    @mcp.tool()
    def get_envelope_points(
        track_index: int,
        envelope_index: int | None = None,
        envelope_name: str | None = None,
    ) -> dict[str, Any]:
        """
        Read all automation envelope points from a track envelope.
        Identify the envelope by name (e.g. 'Volume', 'Pan', 'Mute') or by
        0-based envelope_index. Using envelope_name is preferred and works even
        if the envelope is not yet visible/armed in the REAPER UI.
        Returns envelope name and list of points with time, value, shape, tension.
        """
        try:
            return _wrap(
                adapter.get_envelope_points(
                    track_index=track_index,
                    envelope_index=envelope_index,
                    envelope_name=envelope_name,
                )
            )
        except Exception as exc:
            return _err(exc)
  • The adapter implementation that communicates the 'get_envelope_points' request to the underlying REAPER bridge.
    def get_envelope_points(
        self, track_index: int, envelope_index: int | None = None, envelope_name: str | None = None
    ) -> dict[str, Any]:
        return self._client.call(
            "get_envelope_points",
            track_index=track_index,
            envelope_index=envelope_index,
            envelope_name=envelope_name,
        )

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