mcp-audio-analysis

by hugohow
Verified

chroma_cqt

Analyze audio time series to extract chroma CQT features, representing chromatic content for music analysis. Processes CSV input, computes note amplitudes, and outputs results in a structured CSV format.

Instructions

Computes the chroma CQT of the given audio time series using librosa. The chroma CQT is a representation of the audio signal in terms of its chromatic content, which is useful for music analysis. The chroma CQT is computed using the following parameters: - path_audio_time_series_y: The path to the audio time series (CSV file). It's sometimes better to take harmonics only - hop_length: The number of samples between frames. - fmin: The minimum frequency of the chroma feature. - n_chroma: The number of chroma bins (default is 12). - n_octaves: The number of octaves to include in the chroma feature. The chroma CQT is saved to a CSV file with the following columns: - note: The note name (C, C#, D, etc.). - time: The time position of the note in seconds. - amplitude: The amplitude of the note at that time. The path to the CSV file is returned.

Input Schema

NameRequiredDescriptionDefault
fminNo
hop_lengthNo
n_chromaNo
n_octavesNo
path_audio_time_series_yYes

Input Schema (JSON Schema)

{ "properties": { "fmin": { "default": null, "title": "Fmin", "type": "number" }, "hop_length": { "default": 512, "title": "Hop Length", "type": "integer" }, "n_chroma": { "default": 12, "title": "N Chroma", "type": "integer" }, "n_octaves": { "default": 7, "title": "N Octaves", "type": "integer" }, "path_audio_time_series_y": { "title": "Path Audio Time Series Y", "type": "string" } }, "required": [ "path_audio_time_series_y" ], "title": "chroma_cqtArguments", "type": "object" }

You must be authenticated.

Other Tools from mcp-audio-analysis

Related Tools

ID: 4kntblkkwt