Skip to main content
Glama

set_tempo

Adjust the tempo and time signature in REAPER projects to control playback speed and rhythmic structure for audio production.

Instructions

Set the project tempo (and optionally time signature).

  • bpm: beats per minute

  • time_sig_num / time_sig_denom: e.g. 3, 4 for 3/4 time

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bpmYes
time_sig_numNo
time_sig_denomNo

Implementation Reference

  • The MCP tool registration and handler implementation for set_tempo, which calls the ReaperAdapter.set_tempo method.
    def set_tempo(
        bpm: float,
        time_sig_num: int | None = None,
        time_sig_denom: int | None = None,
    ) -> dict[str, Any]:
        """
        Set the project tempo (and optionally time signature).
        - bpm: beats per minute
        - time_sig_num / time_sig_denom: e.g. 3, 4 for 3/4 time
        """
        try:
            return _wrap(
                adapter.set_tempo(
                    bpm=bpm,
                    time_sig_num=time_sig_num,
                    time_sig_denom=time_sig_denom,
                )
            )
        except Exception as exc:
            return _err(exc)
  • The ReaperAdapter method set_tempo which communicates with the bridge client to execute the tempo change in REAPER.
    def set_tempo(
        self,
        bpm: float,
        time_sig_num: int | None = None,
        time_sig_denom: int | None = None,
    ) -> dict[str, Any]:
        return self._client.call(
            "set_tempo",
            bpm=bpm,
            time_sig_num=time_sig_num,
            time_sig_denom=time_sig_denom,
        )

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