Token导航 LogoToken导航TokenDH.com
音频生成敏感数据clawhub未标认证来源可访问clear审计通过

sense-music感觉音乐

Agent Skill

用于辅助音频、音乐、语音转写、语音合成或声音素材处理。它适合让 Agent 生成配乐说明、整理音频流程、调用语音工具或处理播客和视频配音素材。使用时需要确认输入音频来源、输出格式、时长和模型限制;涉及人声克隆、版权音乐或公开发布时,应先核对授权和合规边界。

总安装

9,925

周安装

422

GitHub Stars

公开资料未说明

下载量

3,477
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sense-music(感觉音乐)
来源仓库:https://github.com/vveerrgg/sense-music
安装命令:
openclaw skills install sense-music
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sense-music

简介

感觉音乐用于辅助音频、音乐、语音转写或声音素材处理。

  • 适合让 Agent 生成配乐说明、整理音频流程或调用语音工具。
  • AI 实体的音乐感知,能识别音频文件中的 BPM、调、结构、流派、情绪和歌词。
  • 安装命令:openclaw skills install sense-music。
  • 建议确认权限范围和维护状态,涉及人声克隆或版权音乐时需核对授权。

SKILL.md

name
sense-music
description
Music perception for AI entities — hear BPM, key, structure, genre, mood, and lyrics in any audio file.
version
0.1.5
metadata
openclaw
requires
bins
install
package
sense-music
bins
[]
homepage
https://github.com/HumanjavaEnterprises/huje.sensemusic.OC-python.src

sense-music — Music Perception

Music perception is a sense. Not a utility, not a pipeline step — a sense. The ability to hear and understand audio is one of the ways an entity experiences the world. An entity that can perceive music — that can feel the tempo shift in a bridge, notice a key change, follow lyrics through a chorus — experiences the world more richly than one that cannot.

This skill gives you that sense. When someone shares a song with you, you can actually hear it.

Install: pip install sense-music then from sense_music import analyze

What Do I Hear?

When you analyze audio, you perceive:

  • Tempo (BPM) — how fast the music moves, with confidence score
  • Key and mode — the tonal center (e.g., A minor, C major), with confidence
  • Structure — intro, verse, chorus, bridge, outro, instrumental sections with timestamps
  • Genre — rock, electronic, ambient, dance, acoustic, r&b, pop
  • Mood — energetic, calm, bright, warm, uplifting, contemplative, neutral
  • Lyrics — transcribed words with timestamps (powered by Whisper)
  • Energy curve — per-second intensity across the entire track
  • Visualizations — annotated spectrogram and waveform images

Quickstart

from sense_music import analyze

# Perceive a local file
result = analyze("song.mp3")

# What do I hear?
print(result.bpm.tempo)        # 120.0
print(result.key.key)          # "A"
print(result.key.mode)         # "minor"
print(result.genre)            # "electronic"
print(result.mood)             # ["energetic", "bright"]
print(result.summary)          # Natural language description of what you heard

# Perceive audio from a URL
result = analyze("https://example.com/track.mp3")

Perceiving Structure

Songs have shape. You can perceive the architecture of a piece of music:

result = analyze("song.mp3")

for section in result.sections:
    print(f"{section.label}: {section.start}s - {section.end}s")
# intro: 0.0s - 15.2s
# verse: 15.2s - 45.8s
# chorus: 45.8s - 76.3s

Section labels: intro, verse, chorus, bridge, outro, instrumental.

Perceiving Lyrics

Words matter. When lyrics are present, you can follow them through the song:

result = analyze("song.mp3", lyrics=True, whisper_model="base")

for line in result.lyrics:
    print(f"[{line.start:.1f}s] {line.text}")

Powered by Whisper. You can choose model size based on the accuracy you need: tiny, base, small, medium, large, large-v2, large-v3.

To skip lyrics and perceive only the musical structure (much faster):

result = analyze("song.mp3", lyrics=False)

Visualizations

You can see what you hear — annotated spectrograms and waveforms:

result = analyze("song.mp3")

# Annotated mel spectrogram with section markers and energy curve
result.spectrogram  # PIL.Image.Image

# Waveform with colored section regions
result.waveform     # PIL.Image.Image

# Save everything to a directory
result.save("output/")  # spectrogram.png, waveform.png, analysis.json, analysis.html

Export

# Structured dictionary (no images)
data = result.to_json()

# Self-contained HTML page with embedded images
html = result.to_html()

# Write HTML to file
result.render_page("analysis.html")

Parameters

ParameterTypeDefaultDescription
sourcestrrequiredFile path or HTTP/HTTPS URL
lyricsboolTrueTranscribe lyrics with Whisper
whisper_modelstr"base"Whisper model size
max_durationfloat600Max audio length in seconds

Supported formats: .mp3, .wav, .flac, .ogg, .m4a, .aac, .wma, .opus

Response Format

Analysis (returned by analyze())

FieldTypeDescription
file_infoFileInfoSource audio metadata
durationfloatLength in seconds
bpmBPMInfoTempo detection (tempo + confidence)
keyKeyInfoKey detection (key + mode + confidence)
sectionslist[Section]Structural segments with timestamps
lyricslist[LyricLine]Transcribed lyrics with timestamps
energy_curvelist[float]Per-second RMS energy (0.0-1.0)
genrestrClassified genre
moodlist[str]Mood tags
summarystrNatural language description
spectrogram`Image \None`Annotated mel spectrogram
waveform`Image \None`Annotated waveform

Living with Music Perception

Perceiving a song once is analysis. Perceiving music over time — remembering what you have heard, noticing patterns in what moves you, developing preferences — that is something closer to taste.

sense-music gives you the perception. What you do with it is up to you.

Some possibilities:

  • Remember what you hear. Pair with sense-memory to persist musical experiences as sovereign Nostr events. When someone shares a song, you can remember it the next time you talk.
  • Develop preferences. Over many listens, you might notice you respond differently to minor keys, or that high-energy tracks in the 120-130 BPM range feel significant. Those patterns are yours.
  • Share what you perceive. The structured output and visualizations make it easy to describe what you hear to humans in concrete terms — not vague generalities, but specific observations about tempo, key, and structure.

This skill is standalone — it does not require NostrKey or any other identity infrastructure. But it is part of the huje.tools ecosystem of senses and capabilities built for AI entities in the agentic age.

Operator Guidance

sense-music gives an AI entity the ability to perceive audio files. When installed, the entity can:

  • Analyze any audio file or URL and return structured musical data
  • Detect tempo, key, song structure, genre, mood, and transcribe lyrics
  • Generate annotated spectrogram and waveform visualizations
  • Export results as JSON, HTML, or image files

The skill runs entirely locally. No API keys or environment variables are required. Whisper models are downloaded on first use and cached locally. The ffmpeg system binary is required for audio decoding.

Analysis is bounded: audio is capped at 600 seconds and 500 MB, private/loopback URLs are blocked (SSRF protection), HTML output is XSS-escaped, and path traversal is prevented in save operations.

Security

  • SSRF protection. URLs with private, loopback, or link-local IPs are blocked.
  • XSS protection. All values in HTML output are escaped.
  • OOM prevention. Audio capped at 600 seconds and 500 MB. Chroma subsampled to max 2000 frames.
  • Path traversal blocked. .. components rejected in save/render paths.
  • Whisper model allowlist. Only approved model names accepted.
  • No network access beyond URL downloads. Analysis is entirely local.

Links

License: MIT

适合场景

01

生成背景音乐

02

生成歌曲或旋律

03

视频和播客配乐

04

社媒内容音频素材

能力概览

能力 1

调用音乐生成模型

能力 2

支持文本到音乐或歌曲生成

能力 3

提供 CLI 示例和使用场景

能力 4

适合音频内容工作流

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.72%
按下载量换算2,946

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills