搜索

PythonReactSEOPDF
OpenClaw

music-analysis

Analyze music/audio files locally without external APIs. Extract tempo (BPM), key estimate, section boundaries, loudness dynamics, spectral/timbre descriptors, and temporal mood journeys. Use when asked to 'hear the music,' audit tracks, compare mixes, inspect structure, or generate producer-facing notes from audio files.

adam-researchh0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install adam-researchh/music-analysis

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Music Analysis (Local, No External APIs)

Analyze audio files using signal processing. Two tools:

1. Quick Analysis — snapshot of the whole track

python3 skills/music-analysis/scripts/analyze_music.py /path/to/audio.mp3
python3 skills/music-analysis/scripts/analyze_music.py track.mp3 --json

Reports: duration, sample rate, tempo (BPM), key estimate, energy stats (RMS mean/std/p95), spectral summary (centroid, rolloff, contrast), coarse section boundaries.

2. Temporal Listen — experience the track as a journey

python3 skills/music-analysis/scripts/temporal_listen.py /path/to/audio.mp3
python3 skills/music-analysis/scripts/temporal_listen.py track.mp3 --json

Reports: sliding-window analysis (4s windows, 2s hops) producing a full timeline of:

  • Energy level (relative to track average)
  • Mood labels (simmering, soaring, erupting, full force, submerged, ethereal, etc.)
  • Transitions (drop hits, pulls back, shifts color, evolves)
  • Texture decomposition (harmonic/percussive ratio, onset density, roughness)
  • Tension model (sustained intensity tracking)
  • Narrative arc (mountain, ascending, descending, plateau, wave)
  • Peak moment, quietest moment, mood journey summary
How it works

No AI/ML models — pure signal processing via librosa:

  • RMS energy per window (relative to global average)
  • Spectral centroid (brightness), rolloff, flatness
  • Harmonic/percussive source separation (HPSS)
  • Onset detection (rhythmic activity density)
  • Zero-crossing rate (texture roughness)
  • Mood labels are rule-based mappings from these features
Mood vocabulary
Mood Condition
submerged Low energy, dark frequencies
ethereal Low energy, high harmonic ratio
breathing Low energy, other
simmering Mid-low energy, warm
restless Mid-low energy, high onset density
floating Mid-low energy, bright
driving Mid energy, percussive
soaring Mid energy, harmonic...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/adam-researchh/music-analysis
Version
—
Commit
0bb8b76709957eb159afa2889c11f35747f4abaa
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Music Analysis (Local, No External APIs)

Analyze audio files using signal processing. Two tools:

## 1. Quick Analysis — snapshot of the whole track

```bash
python3 skills/music-analysis/scripts/analyze_music.py /path/to/audio.mp3
python3 skills/music-analysis/scripts/analyze_music.py track.mp3 --json
```

**Reports:** duration, sample rate, tempo (BPM), key estimate, energy stats (RMS mean/std/p95), spectral summary (centroid, rolloff, contrast), coarse section boundaries.

## 2. Temporal Listen — experience the track as a journey

```bash
python3 skills/music-analysis/scripts/temporal_listen.py /path/to/audio.mp3
python3 skills/music-analysis/scripts/temporal_listen.py track.mp3 --json
```

**Reports:** sliding-window analysis (4s windows, 2s hops) producing a full timeline of:
- Energy level (relative to track average)
- Mood labels (simmering, soaring, erupting, full force, submerged, ethereal, etc.)
- Transitions (drop hits, pulls back, shifts color, evolves)
- Texture decomposition (harmonic/percussive ratio, onset density, roughness)
- Tension model (sustained intensity tracking)
- Narrative arc (mountain, ascending, descending, plateau, wave)
- Peak moment, quietest moment, mood journey summary

### How it works

No AI/ML models — pure signal processing via librosa:
- **RMS energy** per window (relative to global average)
- **Spectral centroid** (brightness), rolloff, flatness
- **Harmonic/percussive source separation** (HPSS)
- **Onset detection** (rhythmic activity density)
- **Zero-crossing rate** (texture roughness)
- Mood labels are rule-based mappings from these features

### Mood vocabulary

| Mood | Condition |
|------|-----------|
| submerged | Low energy, dark frequencies |
| ethereal | Low energy, high harmonic ratio |
| breathing | Low energy, other |
| simmering | Mid-low energy, warm |
| restless | Mid-low energy, high onset density |
| floating | Mid-low energy, bright |
| driving | Mid energy, percussive |
| soaring | Mid energy, harmonic...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...