music-tonality

Analyze audio files to detect key, mode, chords, and melody contour.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/BENZEMA216/dreamina-claude-skills --skill music-tonality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: music-tonality
Source: https://github.com/BENZEMA216/dreamina-claude-skills/tree/main/.claude/skills/music-tonality
Command: npx skills add https://github.com/BENZEMA216/dreamina-claude-skills --skill music-tonality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables automatic detection of the musical key, mode, chord progression, and melody contour from audio, facilitating faster music analysis, arrangement, and educational insights.

Core Features & Use Cases

  • Detects the musical key and mode for a track.
  • Maps chord progressions with timestamps to assist arrangement and remixing.
  • Extracts melody contour for visualization, transcription, and synthesis work.
  • Use Case: A producer analyzes a performance to identify its key and chord structure for quick rearrangement.

Quick Start

Provide the path to an audio file to perform tonality analysis and output key, mode, chords, and melody contour.

Frequently Asked Questions about music-tonality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect the musical key and mode from an audio file?

To detect the musical key and mode from an audio file, you need an audio analysis toolchain like Essentia or Librosa to extract tonal features and output structured key, mode, and confidence data.

Can I map chord progressions with timestamps for remixing?

Yes, you can map chord progressions with timestamps for remixing and arrangement by applying tonal analysis to an audio track to extract structured chord data.

What is melody contour extraction and when do I need it?

Melody contour extraction isolates the pitch movement over time from an audio signal. You need it for visualizing melodic patterns, transcribing music, and guiding synthesis work.

Does tonality analysis work with both Essentia and Librosa?

Yes, tonality analysis works with both Essentia and Librosa, as the skill requires a capable audio analysis toolchain to extract tonal features and provide structured output.

What do I need to start analyzing audio for chords and melody contour?

To start analyzing audio for chords and melody contour, you need to provide the path to an audio file and have a capable audio analysis toolchain installed to process the tonal features.

Are there limitations when detecting key confidence in complex audio tracks?

Limitations in detecting key confidence depend on the audio analysis toolchain used, as complex mixes may obscure tonal features and reduce the accuracy of extracted key and mode data.