Analyze Chord
AI-generatedSummary
Analyze a chord function by sending chord and optional key to the API and returning harmonic analysis data.
Inputs
- chord (required) — Standard chord symbol (e.g., Cmaj7, Dm7b5, G7#11, C/G)
- key — Key center for functional analysis (e.g., C, Bb); optional
- requestOptions — Runtime options for the HTTP request, including batching, SSL verification, proxy, and timeout
- allowUnauthorizedCerts — Allow insecure SSL connections (accept invalid certificates)
- proxy — HTTP proxy URL, with optional basic authentication
- timeout — Request timeout in milliseconds
Output shape
a single analysis record
Typically includes function, romanNumeral, intervals, and derived scales; returns HTTP 200 JSON on success, errors use standard HTTP error codes
Examples
Example 1: Analyze a Dm7 chord in the default key of C
Chord: Dm7 (default), Key: C (default), no extra request options
Example 2: Analyze a G7#11 chord in key of F with batching enabled
Chord: G7#11, Key: F, requestOptions: batchSize=100, batchInterval=500
Example 3: Analyze a chord using a custom proxy and extended timeout
Chord: Cmaj7, Proxy: http://proxy.company.com:3128, Timeout: 15000, allowUnauthorizedCerts: false