Skip to main content
Glama

Extract audio features

extract_audio_features

Extract audio level and bass/mid/treble band energies into CHOP channels for driving any parameter reactively in TouchDesigner.

Instructions

Build an audio-analysis chain that exposes ready-to-bind reactive channels — overall level plus bass/mid/treble band energies — on a Null CHOP. Unlike create_audio_reactive (which renders a spectrum visual), this produces the raw signals so you can drive ANY parameter: bind a node parameter to op('…/audio_features/features')['bass'] and it pulses with the music. A Sensitivity knob scales all channels. Source can be the live device (mic/line — may prompt for macOS permission), an audio file, a synthetic oscillator (for testing), or an existing CHOP. Use create_spectrum for N fine per-band channels instead of these four coarse bands, and pass this Null as the source_chop to bind_audio_reactive to make a whole COMP react.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mid_hzNoBand-pass centre for the mid band.
sourceNoAudio source. 'device' = live microphone/line in (the real-world default; creating it may pop a one-time macOS microphone-permission dialog — click Allow). 'file' = an audio file. 'oscillator' = a synthetic tone, handy for testing without any device permission. 'existing_chop' = reuse a CHOP you already have.device
bass_hzNoLow-pass cutoff for the bass band.
treble_hzNoHigh-pass cutoff for the treble band.
parent_pathNoParent COMP path the self-contained 'audio_features' container is created inside./project1
audio_file_pathNoAudio file path (source='file').
expose_controlsNoExpose a live 'Sensitivity' knob (a gain over every feature channel).
existing_chop_pathNoPath of an existing audio CHOP to analyze (source='existing_chop').
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true. The description adds context beyond these: it may trigger a macOS permission dialog, the Sensitivity knob scales all channels, and it produces raw signals rather than a visual. It doesn't mention every side effect but sufficiently discloses the key behaviors for an open-world creation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but well-structured: it leads with purpose, then contrasts with alternatives, explains output usage, and lists source options. It is longer than minimal but earns its length with actionable guidance and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a fairly complex tool with 8 parameters and no output schema, yet the description covers the output channels, how to bind them, source choices, permission caveats, and alternatives. It gives enough context for an agent to select and use the tool without needing additional resources.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with detailed per-parameter descriptions, so the baseline is 3. The description adds a practical binding example ('op('…/audio_features/features')['bass']') and mentions the Sensitivity knob, but it does not materially extend the parameter semantics beyond what the schema already explains.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Build an audio-analysis chain' that exposes reactive channels on a Null CHOP, and explicitly contrasts itself with create_audio_reactive ('renders a spectrum visual') and create_spectrum ('N fine per-band channels'). This clearly distinguishes its purpose from nearby siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit when-to-use guidance: use this for raw signals to drive ANY parameter, use create_spectrum for fine per-band channels, and pass this Null as source_chop to bind_audio_reactive. It also explains the four source modes and their appropriate use cases (testing, file, live device, existing CHOP).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/lucasmaher-hash/touch-designer-mcp'

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