Skip to main content
Glama

delete_midi_note

Remove a specific MIDI note from a REAPER project by specifying track, item, and note indexes to edit MIDI data precisely.

Instructions

Delete a specific MIDI note from a MIDI item by its 0-based note index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
track_indexYes
item_indexYes
note_indexYes

Implementation Reference

  • The MCP tool registration and handler for 'delete_midi_note', which calls the adapter.
    @mcp.tool()
    def delete_midi_note(
        track_index: int,
        item_index: int,
        note_index: int,
    ) -> dict[str, Any]:
        """Delete a specific MIDI note from a MIDI item by its 0-based note index."""
        try:
            return _wrap(
                adapter.delete_midi_note(
                    track_index=track_index,
                    item_index=item_index,
                    note_index=note_index,
                )
            )
  • The adapter method that forwards the 'delete_midi_note' call to the BridgeClient.
    def delete_midi_note(
        self, track_index: int, item_index: int, note_index: int
    ) -> dict[str, Any]:
        return self._client.call(
            "delete_midi_note",
            track_index=track_index,
            item_index=item_index,
            note_index=note_index,
        )

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