Skip to main content
Glama

play_note

Play a MIDI note using Sonic Pi, specifying the note number, synth type, sustain duration, and cutoff frequency to create custom sound sequences programmatically.

Input Schema

NameRequiredDescriptionDefault
cutoffNoFilter cutoff frequency
noteYesMIDI note number (0-127)
sustainNoNote duration in seconds
synthNoSynth to use (e.g. :saw, :beep, :prophet)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cutoff": { "description": "Filter cutoff frequency", "type": "number" }, "note": { "description": "MIDI note number (0-127)", "maximum": 127, "minimum": 0, "type": "number" }, "sustain": { "description": "Note duration in seconds", "type": "number" }, "synth": { "description": "Synth to use (e.g. :saw, :beep, :prophet)", "type": "string" } }, "required": [ "note" ], "type": "object" }

Other Tools from Sonic Pi MCP

Related Tools

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/abhishekjairath/sonic-pi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server