Install
openclaw skills install chord-analyzerAnalyze music audio files to extract chord progressions, key signature, tempo, and song structure. Use when user wants to identify chords, analyze a song's harmony, or extract musical information from audio files (mp3, wav, m4a, etc.).
openclaw skills install chord-analyzerAnalyze music audio files to extract chord progressions, key signature, tempo, and song structure.
✅ USE this skill when:
❌ DON'T use this skill when:
First time use requires installing dependencies:
pip3 install librosa numpy scipy scikit-learn soundfile
# Analyze an audio file
python3 chord_analyzer.py
# Edit the script to change the audio path
# Default: /Users/chentiewen/Music/网易云音乐/example.mp3
Copy the chord_analyzer.py script to your workspace and modify the audio_path variable:
audio_path = "/path/to/your/song.mp3"
result = analyze_audio(audio_path)
The analyzer provides:
调性: F#m
速度: 123.0 BPM
节奏: 快板 (Allegro)
和弦走向:
F#mdim → A → D → Bm → E → A → D → Bm → E ...
主要和弦:
A: 15次 (20.3%)
E: 14次 (18.9%)
D: 12次 (16.2%)
librosa.load() to read audio at 22.05kHzlibrosa.beat.beat_track() for tempo detectionFor professional music transcription, recommend: