MIDI File MCP

by xiaolaa2
Verified

add_pitchbends_by_index

Add pitchbends to specific tracks in a MIDI file by specifying the track index and pitchbend values, enabling precise control over MIDI track modifications.

Instructions

Add pitchbends to midi file by track index

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsoulate File Path to midi file
pitchbendsYes
trackIndexYesTrack index number

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "filePath": { "description": "Absoulate File Path to midi file", "type": "string" }, "pitchbends": { "items": { "allOf": [ { "properties": { "value": { "type": "number" } }, "required": [ "value" ], "type": "object" }, { "anyOf": [ { "additionalProperties": false, "properties": { "time": { "type": "number" } }, "required": [ "time" ], "type": "object" }, { "additionalProperties": false, "properties": { "ticks": { "type": "number" } }, "required": [ "ticks" ], "type": "object" } ] } ] }, "type": "array" }, "trackIndex": { "description": "Track index number", "type": "number" } }, "required": [ "filePath", "trackIndex", "pitchbends" ], "type": "object" }
ID: hqzbh86gt8