JA

juzzydee/audio-analyzer-rs

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

76 stars 14 forks 质量 52 趋势 1MIT

juzzydee/audio-analyzer-rs 是从 https://github.com/juzzydee/audio-analyzer-rs. 导入的 MCP 服务器候选

概览

juzzydee/audio-analyzer-rs 是从 https://github.com/juzzydee/audio-analyzer-rs. 导入的 MCP 服务器候选

概述(AI 翻译)

一个MCP服务器,让克劳德能够听到音乐。

指向任何音频文件,它都能告诉你调性、速度、力度、音色、打击乐特性、立体声场、结构部分以及音乐如何随时间演变——所有这些都是基于原始音频分析,没有图片,没有猜测,上下文窗口使用率低于1%。

将两首曲目并排比较。观察音乐结构的变化——前奏、主歌、副歌、桥段——并放大到重要的时刻。

这是什么?

大型语言模型(LLMs)可以看(视觉)和阅读(文本),但它们听不到声音。本项目通过运行真实音频分析——与音乐信息检索研究中使用的DSP技术相同——并返回Claude能够推理的结构化数值数据,弥合了这一差距。

这是一个MCP服务器,将音频分析作为Claude可以随时调用的工具。让Claude分析一首歌,它会解码音频,进行频谱/谐波/节奏/打击乐分析,并以简洁文本返回结果。没有频谱图,没有图像,没有浪费的标记。

对一段60秒曲目的全面分析不到2秒(包括源分离)。纯锈味。没有Python,没有FFmpeg,没有系统依赖。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

audio_visualizer_rs

An MCP server that gives Claude the ability to hear music.

Point Claude at any audio file and it can tell you the key, tempo, dynamics, timbre, percussive character, stereo field, structural sections, and how the music evolves over time – all from raw audio analysis, no images, no guessing, under 1% context window usage.

Compare two tracks side-by-side. Detect where the music changes structurally — intro, verse, chorus, bridge — and zoom into the moments that matter.

What is this?

LLMs can see (vision) and read (text), but they can’t hear. This project bridges that gap by running real audio analysis – the same DSP techniques used in music information retrieval research – and returning structured numerical data that Claude can reason about.

It’s an MCP server that exposes audio analysis as tools Claude can call on demand. Ask Claude to analyze a song and it will decode the audio, run spectral/harmonic/rhythm/percussive analysis, and return the results as compact text. No spectrograms, no images, no wasted tokens.

Full analysis of a 60-second track completes in under 2 seconds (including source separation). Pure Rust. No Python, no FFmpeg, no system dependencies.

Features

  • Audio decoding – mp3, wav, flac, ogg, aac via Symphonia (pure Rust)
  • Spectral analysis – centroid (brightness), bandwidth (richness), rolloff, flatness (tonality)
  • Frequency band energy – RMS energy across 7 standard producer bands (sub-bass through brilliance) for mix diagnosis
  • Spectral contrast – peak vs valley per band in dB, reveals clarity vs muddiness
  • Dynamic range – crest factor, loudness range (95th-5th percentile), peak dBFS
  • LUFS loudness – EBU R128 integrated loudness (ITU-R BS.1770-4 stereo channel summing), true peak (dBTP), loudness range (LRA), streaming platform targets. Validated to 0.0 dB of FabFilter Pro-L 2.
  • Stereo field analysis – phase correlation (mono compatibility), stereo width (mid/side ratio), L/R balance, mono compatibility score. Per-frame time-series to pinpoint where phase issues occur.
  • Temporal features – RMS energy (loudness), zero crossing rate (texture)
  • Timbre – 13 MFCCs (Mel-frequency cepstral coefficients)
  • Harmonic analysis – chromagram, key detection (Krumhansl-Schmuckler algorithm), tonnetz
  • Rhythm analysis – tempo estimation, beat tracking, onset detection, tempo stability
  • Percussive character – harmonic/percussive source separation (HPSS), attack sharpness, onset density
  • Section boundary detection – multi-feature novelty analysis detects structural changes (energy, spectral, harmonic, texture). Enables a summary→zoom workflow: get the map, then dive into interesting moments
  • A/B comparison – analyse two tracks side-by-side, get a compact diff table highlighting differences in loudness, dynamics, spectral balance, stereo field, key, and tempo
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →