audio-intelligence-mcp 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- audio_intelligence_mcp-0.1.0.dist-info/METADATA +325 -0
- audio_intelligence_mcp-0.1.0.dist-info/RECORD +68 -0
- audio_intelligence_mcp-0.1.0.dist-info/WHEEL +4 -0
- audio_intelligence_mcp-0.1.0.dist-info/entry_points.txt +2 -0
- audio_intelligence_mcp-0.1.0.dist-info/licenses/LICENSE +202 -0
- audio_intelligence_mcp-0.1.0.dist-info/licenses/NOTICE +5 -0
- audio_mcp/__init__.py +1 -0
- audio_mcp/__main__.py +3 -0
- audio_mcp/analysis/__init__.py +0 -0
- audio_mcp/analysis/diarize.py +91 -0
- audio_mcp/analysis/events.py +53 -0
- audio_mcp/analysis/uncertainty.py +70 -0
- audio_mcp/backends/__init__.py +1 -0
- audio_mcp/backends/audioset_labels.csv +528 -0
- audio_mcp/backends/base.py +211 -0
- audio_mcp/backends/ecapa.py +57 -0
- audio_mcp/backends/energy_vad.py +32 -0
- audio_mcp/backends/fake.py +144 -0
- audio_mcp/backends/llm.py +133 -0
- audio_mcp/backends/panns.py +103 -0
- audio_mcp/backends/pyannote_diar.py +52 -0
- audio_mcp/backends/silero.py +40 -0
- audio_mcp/backends/text_embed.py +42 -0
- audio_mcp/backends/whisper.py +147 -0
- audio_mcp/compare/__init__.py +0 -0
- audio_mcp/compare/compare.py +110 -0
- audio_mcp/config.py +134 -0
- audio_mcp/context.py +36 -0
- audio_mcp/dsp/__init__.py +0 -0
- audio_mcp/dsp/features.py +263 -0
- audio_mcp/dsp/integrity.py +94 -0
- audio_mcp/dsp/preprocess.py +82 -0
- audio_mcp/dsp/quality.py +123 -0
- audio_mcp/dsp/speech.py +35 -0
- audio_mcp/envelope.py +114 -0
- audio_mcp/eval/__init__.py +0 -0
- audio_mcp/eval/metrics.py +103 -0
- audio_mcp/export/__init__.py +0 -0
- audio_mcp/export/exporters.py +120 -0
- audio_mcp/export/redact.py +52 -0
- audio_mcp/ingest/__init__.py +0 -0
- audio_mcp/ingest/decode.py +148 -0
- audio_mcp/ingest/sources.py +182 -0
- audio_mcp/jobs.py +102 -0
- audio_mcp/library/__init__.py +0 -0
- audio_mcp/library/index.py +207 -0
- audio_mcp/logging_setup.py +42 -0
- audio_mcp/pipeline/__init__.py +0 -0
- audio_mcp/pipeline/planner.py +78 -0
- audio_mcp/pipeline/runner.py +133 -0
- audio_mcp/pipeline/stages.py +269 -0
- audio_mcp/reasoning/__init__.py +0 -0
- audio_mcp/reasoning/ask.py +265 -0
- audio_mcp/reasoning/llm_grounded.py +89 -0
- audio_mcp/reasoning/summarize.py +90 -0
- audio_mcp/server.py +259 -0
- audio_mcp/store/__init__.py +0 -0
- audio_mcp/store/audio_store.py +174 -0
- audio_mcp/store/cache.py +36 -0
- audio_mcp/store/retention.py +101 -0
- audio_mcp/stream/__init__.py +0 -0
- audio_mcp/stream/sessions.py +207 -0
- audio_mcp/timeline/__init__.py +0 -0
- audio_mcp/timeline/graph.py +104 -0
- audio_mcp/tools/__init__.py +0 -0
- audio_mcp/tools/handlers.py +542 -0
- audio_mcp/tools/schemas.py +173 -0
- audio_mcp/types.py +75 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: audio-intelligence-mcp
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Local-first Audio Intelligence MCP server
|
|
5
|
+
Project-URL: Homepage, https://github.com/DNSdecoded/audio-intelligence-mcp
|
|
6
|
+
Project-URL: Documentation, https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/tools.md
|
|
7
|
+
Project-URL: Issues, https://github.com/DNSdecoded/audio-intelligence-mcp/issues
|
|
8
|
+
Author: Sanjay Sakhinala
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
Keywords: audio,diarization,mcp,sound-event-detection,speech-to-text,whisper
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
|
|
19
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
|
20
|
+
Requires-Python: <3.14,>=3.12
|
|
21
|
+
Requires-Dist: httpx
|
|
22
|
+
Requires-Dist: mcp<2,>=1.9
|
|
23
|
+
Requires-Dist: numpy
|
|
24
|
+
Requires-Dist: platformdirs
|
|
25
|
+
Requires-Dist: pydantic-settings>=2
|
|
26
|
+
Requires-Dist: pydantic>=2
|
|
27
|
+
Requires-Dist: scipy
|
|
28
|
+
Requires-Dist: soundfile
|
|
29
|
+
Provides-Extra: dev
|
|
30
|
+
Requires-Dist: jiwer; extra == 'dev'
|
|
31
|
+
Requires-Dist: psutil; extra == 'dev'
|
|
32
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
33
|
+
Requires-Dist: pytest-asyncio; extra == 'dev'
|
|
34
|
+
Requires-Dist: pyttsx3; extra == 'dev'
|
|
35
|
+
Provides-Extra: llm
|
|
36
|
+
Requires-Dist: anthropic>=1.15; extra == 'llm'
|
|
37
|
+
Provides-Extra: models
|
|
38
|
+
Requires-Dist: faster-whisper; extra == 'models'
|
|
39
|
+
Requires-Dist: librosa; extra == 'models'
|
|
40
|
+
Requires-Dist: panns-inference; extra == 'models'
|
|
41
|
+
Requires-Dist: sentence-transformers; extra == 'models'
|
|
42
|
+
Requires-Dist: silero-vad; extra == 'models'
|
|
43
|
+
Requires-Dist: speechbrain; extra == 'models'
|
|
44
|
+
Requires-Dist: torch; extra == 'models'
|
|
45
|
+
Provides-Extra: pyannote
|
|
46
|
+
Requires-Dist: pyannote-audio; extra == 'pyannote'
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
|
|
49
|
+
# Audio Intelligence MCP Server
|
|
50
|
+
|
|
51
|
+
[](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/LICENSE)
|
|
52
|
+

|
|
53
|
+

|
|
54
|
+
|
|
55
|
+
A local-first [Model Context Protocol](https://modelcontextprotocol.io) server that lets AI agents analyze audio:
|
|
56
|
+
transcripts with word timings, speakers, sound events, acoustic measurements, quality diagnosis, timelines,
|
|
57
|
+
evidence-grounded answers, comparisons, library search, streaming, and exports.
|
|
58
|
+
|
|
59
|
+
Everything runs on your machine. Audio never leaves it. An LLM is optional, off by default, and only ever
|
|
60
|
+
receives text (transcript snippets and event labels); every response reports `data_sent_off_machine`.
|
|
61
|
+
|
|
62
|
+
Every tool returns the same JSON envelope:
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"status": "success | partial | processing | error",
|
|
67
|
+
"audio_id": "aud_0123456789abcdef",
|
|
68
|
+
"result": { "...": "tool-specific (analyze_audio uses \"analysis\")" },
|
|
69
|
+
"warnings": [{"code": "OVERLAP_UNSUPPORTED", "message": "..."}],
|
|
70
|
+
"errors": [{"code": "STAGE_FAILED", "stage": "events", "message": "...", "retryable": false}],
|
|
71
|
+
"processing": {"duration_seconds": 2.4, "stages_run": ["vad", "transcription"], "stages_skipped": [],
|
|
72
|
+
"cache_hits": [], "models_used": [{"stage": "transcription", "name": "faster-whisper",
|
|
73
|
+
"version": "small", "local": true}], "data_sent_off_machine": false, "schema_version": "1.0"}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Validation failures use `{"status": "error", "error": {"code", "message", "retryable"}}`. Times are seconds
|
|
78
|
+
(3 decimals), levels dBFS, frequencies Hz. `confidence` appears only when a model or rule produced it, always
|
|
79
|
+
with `confidence_kind` (`model_probability` or `heuristic`; none are calibrated).
|
|
80
|
+
|
|
81
|
+
## Requirements
|
|
82
|
+
|
|
83
|
+
- Windows, macOS or Linux (CI runs the test suite on all three)
|
|
84
|
+
- Python 3.12 or 3.13 and [uv](https://docs.astral.sh/uv/)
|
|
85
|
+
- ffmpeg and ffprobe on `PATH` (or set `ffmpeg_path` / `ffprobe_path`):
|
|
86
|
+
- Windows: `winget install Gyan.FFmpeg`
|
|
87
|
+
- macOS: `brew install ffmpeg`
|
|
88
|
+
- Debian/Ubuntu: `sudo apt-get install ffmpeg`
|
|
89
|
+
- CPU is enough. CUDA is used automatically when available (`device = "auto"`).
|
|
90
|
+
|
|
91
|
+
## Install
|
|
92
|
+
|
|
93
|
+
From PyPI (once released):
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
pip install "audio-intelligence-mcp[models]" # or run without installing: uvx --from "audio-intelligence-mcp[models]" audio-mcp
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
From source:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
git clone https://github.com/DNSdecoded/audio-intelligence-mcp.git
|
|
103
|
+
cd audio-intelligence-mcp
|
|
104
|
+
uv sync --extra models # local models (faster-whisper, PANNs, SpeechBrain, silero-vad, MiniLM)
|
|
105
|
+
uv sync --extra models --extra llm # + optional Claude backend (anthropic SDK)
|
|
106
|
+
uv sync --extra models --extra pyannote # + optional pyannote diarization (needs HF_TOKEN)
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Without `--extra models` the server still starts: model-backed stages are reported in `stages_skipped` with the
|
|
110
|
+
reason, and the DSP tools (features, quality, integrity, comparison) work.
|
|
111
|
+
|
|
112
|
+
**First-run downloads** (cached in `models_dir`, then fully offline): Whisper small ≈ 460 MB, PANNs CNN14 ≈
|
|
113
|
+
330 MB, SpeechBrain ECAPA ≈ 80 MB, all-MiniLM-L6-v2 ≈ 90 MB. Silero VAD ships inside its package.
|
|
114
|
+
|
|
115
|
+
## Connect a client
|
|
116
|
+
|
|
117
|
+
Claude Code (PyPI release):
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
claude mcp add audio-intel -- uvx --from "audio-intelligence-mcp[models]" audio-mcp
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Claude Code (source checkout):
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
claude mcp add audio-intel -- uv --directory /path/to/audio-intelligence-mcp run audio-mcp
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
Claude Desktop (`claude_desktop_config.json`):
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"mcpServers": {
|
|
134
|
+
"audio-intel": {
|
|
135
|
+
"command": "uv",
|
|
136
|
+
"args": ["--directory", "/path/to/audio-intelligence-mcp", "run", "audio-mcp"],
|
|
137
|
+
"env": {"AUDIO_MCP_ALLOWED_ROOTS": "[\"/path/to/your/audio\"]"}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
On Windows, use forward slashes or escaped backslashes in JSON paths (`"C:/audio"` or `"C:\audio"`).
|
|
144
|
+
|
|
145
|
+
Only files under `allowed_roots` can be read (default: your home directory). Paths are resolved, symlinks
|
|
146
|
+
included, before the check.
|
|
147
|
+
|
|
148
|
+
## Tools
|
|
149
|
+
|
|
150
|
+
| Tool | What it does |
|
|
151
|
+
|---|---|
|
|
152
|
+
| `analyze_audio` | Task list or `"auto"` (plans from speech ratio, duration, goal text and budget; plan returned with reasons) |
|
|
153
|
+
| `transcribe_audio` | Segments + word timestamps, language runs, optional speakers, code-switching, English translation |
|
|
154
|
+
| `detect_audio_events` | AudioSet sound events (PANNs) as time intervals, filterable by category or label |
|
|
155
|
+
| `extract_audio_features` | Level, silence, SNR estimate, spectral shape, bands, pitch, tempo/onsets, with units |
|
|
156
|
+
| `inspect_audio_quality` | Clipping, low level, silence, noise, hum, echo, bandwidth, DC; optional preprocessed variant |
|
|
157
|
+
| `get_audio_timeline` | Event graph: speech, turns, events, silence, overlaps, transitions + relation edges |
|
|
158
|
+
| `ask_audio` | Question answering with timestamped evidence and `support: direct / inferred / insufficient` |
|
|
159
|
+
| `summarize_audio` | Extractive summary, topics, key moments, every sentence linked to evidence ids |
|
|
160
|
+
| `compare_audio` | Pairwise measured differences, or baseline z-score anomalies localized in time |
|
|
161
|
+
| `search_audio_library` | Persistent SQLite FTS5 + vector library: index files/folders, search by text/filters/example clip |
|
|
162
|
+
| `analyze_audio_stream` | Chunked sessions (PCM or self-contained files), provisional results, final reconciliation |
|
|
163
|
+
| `export_audio_analysis` | json, markdown, srt, vtt, csv, rttm (optional redaction) |
|
|
164
|
+
| `get_job` | Status/progress/cancel for async jobs (long audio runs as a job automatically) |
|
|
165
|
+
|
|
166
|
+
Full schemas and example success/error responses: [docs/tools.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/tools.md). What is implemented,
|
|
167
|
+
partial, or future: [docs/capabilities.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/capabilities.md).
|
|
168
|
+
|
|
169
|
+
## Example workflows
|
|
170
|
+
|
|
171
|
+
**Meeting.** `analyze_audio {"source": {"type": "file_path", "path": "/audio/standup.m4a"}, "goal": "meeting"}`
|
|
172
|
+
plans transcription, language, diarization, events, summary, timeline and uncertainty. Then reuse the returned
|
|
173
|
+
`audio_id` (cached, nothing recomputed): `ask_audio {"source": {"type": "audio_id", "audio_id": "aud_..."},
|
|
174
|
+
"question": "When does someone mention the deadline?"}` and `export_audio_analysis {"audio_id": "aud_...",
|
|
175
|
+
"format": "srt"}`.
|
|
176
|
+
|
|
177
|
+
**Machine baseline.** `compare_audio {"sources": [<today.wav>], "baseline": [<healthy_1.wav>, <healthy_2.wav>]}`
|
|
178
|
+
returns per-feature z-scores and the seconds where the target departs from the baseline distribution;
|
|
179
|
+
interpretations are labelled as such and never stated as causes.
|
|
180
|
+
|
|
181
|
+
**Environmental recording.** `detect_audio_events {"source": ..., "categories": ["animal", "vehicle"]}`, then
|
|
182
|
+
`get_audio_timeline` and `ask_audio "What happens immediately before the alarm sounds?"`.
|
|
183
|
+
|
|
184
|
+
**Library.** `search_audio_library {"action": "index", "paths": ["/audio/calls"]}`, then
|
|
185
|
+
`{"action": "search", "query": "refund request", "filters": {"language": "en"}}` or search by an example clip
|
|
186
|
+
with `"query_audio"`.
|
|
187
|
+
|
|
188
|
+
**Streaming.** `analyze_audio_stream` with `start` (`chunk_format: "pcm"` + rate/channels/sample format, or
|
|
189
|
+
`"file"`), repeated `push` (base64 `data` or `path`), then `finish` for the full analysis and a reconciliation of
|
|
190
|
+
provisional vs final results.
|
|
191
|
+
|
|
192
|
+
## Configuration
|
|
193
|
+
|
|
194
|
+
TOML file (`AUDIO_MCP_CONFIG=/path/config.toml`, see `config.example.toml`) and/or env vars
|
|
195
|
+
`AUDIO_MCP_<NAME>`. Full table: [docs/configuration.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/configuration.md). Key settings:
|
|
196
|
+
|
|
197
|
+
| Setting | Default | |
|
|
198
|
+
|---|---|---|
|
|
199
|
+
| `allowed_roots` | home dir | folders audio may be read from |
|
|
200
|
+
| `max_file_mb` / `max_upload_mb` / `max_duration_seconds` | 500 / 50 / 7200 | input limits |
|
|
201
|
+
| `allow_url_fetch` | false | URL sources (private/loopback/metadata IPs always blocked) |
|
|
202
|
+
| `asr_model` | `small` | faster-whisper size (`tiny` … `large-v3`) |
|
|
203
|
+
| `async_threshold_seconds` | 600 | longer audio runs as a job (`async_mode: "auto"`) |
|
|
204
|
+
| `retention` / `retention_ttl_hours` | `ttl` / 24 | stored audio and results are deleted after the TTL |
|
|
205
|
+
| `llm_provider` | `none` | `anthropic`, `openai_compatible`, or `ollama` (text only, opt-in) |
|
|
206
|
+
| `redact_outputs` | false | redact emails, phone numbers, card numbers (+ your patterns) in all outputs |
|
|
207
|
+
|
|
208
|
+
## Privacy
|
|
209
|
+
|
|
210
|
+
- Audio is processed locally and never sent anywhere.
|
|
211
|
+
- The only outbound traffic is (a) model downloads on first use (Hugging Face, Zenodo, GitHub) and (b) the LLM,
|
|
212
|
+
if you enable one. A local Ollama/OpenAI-compatible server on localhost counts as local; any other host sets
|
|
213
|
+
`processing.data_sent_off_machine: true` on that response.
|
|
214
|
+
- Stored audio copies and cached results live under `data_dir` and are swept after `retention_ttl_hours`
|
|
215
|
+
(`retention = "none"` deletes everything at shutdown). The search library is persistent
|
|
216
|
+
(`library_retention = "keep"`) and stores derived data and file paths, never audio.
|
|
217
|
+
- Exports written by `export_audio_analysis` to `export_dir` are yours to keep: retention never deletes them.
|
|
218
|
+
They are redacted when the call sets `redact: true` or the server sets `redact_outputs = true`.
|
|
219
|
+
- Logs go to stderr (and `log_file`) and never contain transcript text unless `log_sensitive = true`.
|
|
220
|
+
- Integrity indicators are signal observations only; the server never states that audio is authentic, edited
|
|
221
|
+
or synthetic, and never infers emotion.
|
|
222
|
+
|
|
223
|
+
## Supported input
|
|
224
|
+
|
|
225
|
+
Any audio ffmpeg can decode: WAV, FLAC, MP3, OGG/Opus, M4A/AAC, WebM, AIFF, WMA, and more; any sample rate and
|
|
226
|
+
channel count (models get a 16 kHz mono mix; measurements use the native signal). Sources: `file_path`,
|
|
227
|
+
`base64`, `url` (off by default), `audio_id`. Playlist and concat inputs (HLS `.m3u8`, ffconcat, DASH, image
|
|
228
|
+
sequences) are rejected because they make ffmpeg read other files.
|
|
229
|
+
|
|
230
|
+
Limits and memory: audio longer than `max_duration_seconds` (default 7200 s = 2 h) is rejected. Decoded audio is
|
|
231
|
+
held in RAM as float32 at the native rate plus a 16 kHz mono copy: about 1.6 GB per hour of 48 kHz stereo
|
|
232
|
+
(about 0.9 GB per hour of 44.1 kHz mono), with transient peaks of roughly 2-3x that during decoding and feature
|
|
233
|
+
extraction. The two most recently used recordings stay decoded in memory. Raise the limit only with RAM to match.
|
|
234
|
+
|
|
235
|
+
Language coverage follows Whisper (≈ 99 languages); translation is to English only.
|
|
236
|
+
|
|
237
|
+
## Evaluation
|
|
238
|
+
|
|
239
|
+
Measured on public datasets with the default local models on a 4-core CPU (Whisper small int8, PANNs CNN14,
|
|
240
|
+
ECAPA). Full tables, per-file JSON and before/after numbers: [docs/eval/RESULTS.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/eval/RESULTS.md); method,
|
|
241
|
+
datasets and caveats: [docs/evaluation.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/evaluation.md).
|
|
242
|
+
|
|
243
|
+
| Capability | Dataset | Result |
|
|
244
|
+
|---|---|---|
|
|
245
|
+
| Transcription | LibriSpeech test-clean / test-other | **4.1 % / 6.1 % WER** (Whisper small published: 3.4 % / 7.6 %) |
|
|
246
|
+
| Noise robustness | LibriSpeech + real ambient noise, 20 / 10 / 5 / 0 dB SNR | 4.3 / 5.0 / 8.4 / 14.5 % WER |
|
|
247
|
+
| Formats | 12 containers/codecs/rates (wav 8–48 kHz, flac, mp3, ogg, opus, m4a, aac, webm, aiff, wma) | all decode; 0.6 % WER |
|
|
248
|
+
| Multilingual | FLEURS en / es / de / fr / zh / ar / hi / te | 6.7 / 5.7 / 12.9 / 13.7 / 24.6 (CER) / 37.7 / 58.8 / 103 % WER; language detected 88–100 % |
|
|
249
|
+
| Speaker diarization | AMI test meetings (real, with overlap) | 38.2 % DER (30.4 % with 0.25 s collar); most error is overlapped speech |
|
|
250
|
+
| Sound events | ESC-50, 200 clips, zero-shot | 73 % clip recall, 65 % top-1 (lenient AudioSet labels) |
|
|
251
|
+
| Quality diagnosis | 90 files with 8 injected defects | 88 % exact issue set; per-issue recall 100 % |
|
|
252
|
+
| Speed | 10-min file, CPU | transcription 0.58× real time, events 0.23×, diarization 0.57×; peak 2.1 GB RAM |
|
|
253
|
+
|
|
254
|
+
Low-resource languages (Arabic, Hindi, Telugu) are not usable with `asr_model = "small"`; use a larger model and
|
|
255
|
+
pass `language`.
|
|
256
|
+
|
|
257
|
+
## Troubleshooting
|
|
258
|
+
|
|
259
|
+
| Symptom | Fix |
|
|
260
|
+
|---|---|
|
|
261
|
+
| `MODEL_UNAVAILABLE: ffmpeg/ffprobe not found` | Install ffmpeg (above) or set `ffmpeg_path` / `ffprobe_path` |
|
|
262
|
+
| A stage in `stages_skipped` with "not installed (uv sync --extra models)" | Install the `models` extra |
|
|
263
|
+
| `stages_skipped` with a model load error | First-run download failed (network/proxy); check `models_dir` is writable and retry |
|
|
264
|
+
| SpeechBrain symlink / privilege error on Windows | Already handled (models are copied, not symlinked); update and retry |
|
|
265
|
+
| PANNs tries to run `wget` | The server pre-seeds `~/panns_data/class_labels_indices.csv`; make sure the home dir is writable |
|
|
266
|
+
| Slow on CPU | Use `asr_model = "base"` or `"tiny"`, `budget: "fast"`, or a CUDA GPU; long files run as jobs |
|
|
267
|
+
| `PATH_NOT_ALLOWED` | Add the folder to `allowed_roots` |
|
|
268
|
+
| Client reports a broken connection | Nothing may print to stdout; the server redirects stray library prints to stderr — report any that leak |
|
|
269
|
+
|
|
270
|
+
## Development
|
|
271
|
+
|
|
272
|
+
```bash
|
|
273
|
+
uv sync --extra dev --extra models
|
|
274
|
+
uv run pytest -m "not slow and not long" # fast suite: fake backends, no downloads
|
|
275
|
+
uv run pytest -m slow # real models
|
|
276
|
+
uv run pytest -m long # 30-minute file / async path
|
|
277
|
+
uv run python scripts/gen_tool_docs.py --write-examples # refresh docs/tools.md + examples
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
Releasing: bump `version` in `pyproject.toml`, then push a `vX.Y.Z` tag. `.github/workflows/publish.yml` builds
|
|
281
|
+
the package and uploads it to PyPI through trusted publishing (no API token stored).
|
|
282
|
+
|
|
283
|
+
Evaluation and benchmarks: [docs/evaluation.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/evaluation.md). Design spec, implementation plan, and build
|
|
284
|
+
notes (design rulings and known limits): [docs/superpowers/](https://github.com/DNSdecoded/audio-intelligence-mcp/tree/main/docs/superpowers).
|
|
285
|
+
|
|
286
|
+
Project layout:
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
src/audio_mcp/
|
|
290
|
+
server.py MCP entry point (stdio), tool registration, lifespan
|
|
291
|
+
tools/ request schemas and tool handlers
|
|
292
|
+
ingest/ source resolution, path/URL guards, ffmpeg probe and decode
|
|
293
|
+
store/ content-addressed audio store, result cache, retention
|
|
294
|
+
pipeline/ stage DAG, auto planner, runner
|
|
295
|
+
backends/ model adapters (Whisper, PANNs, ECAPA, Silero, MiniLM, LLMs) + fake backends for tests
|
|
296
|
+
dsp/ features, quality, preprocessing, integrity, speech characteristics
|
|
297
|
+
analysis/ timeline/ reasoning/ compare/ library/ stream/ export/ eval/
|
|
298
|
+
scripts/ benchmark, evaluate, docs generator
|
|
299
|
+
tests/ unit, integration, e2e (stdio)
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
## Known limitations
|
|
303
|
+
|
|
304
|
+
- Confidence values are raw model probabilities or heuristics, never calibrated.
|
|
305
|
+
- Default diarization (ECAPA clustering) does not detect overlapping speech; install the `pyannote` extra for that.
|
|
306
|
+
- Accuracy on low-resource languages with the default `small` model is poor (see Evaluation).
|
|
307
|
+
- Translation is to English only (Whisper).
|
|
308
|
+
- Integrity indicators are signal heuristics, not a deepfake or tamper detector.
|
|
309
|
+
- Malformed tool arguments are rejected by the MCP layer before the server sees them, so they come back as MCP
|
|
310
|
+
tool errors rather than the JSON envelope.
|
|
311
|
+
|
|
312
|
+
Full list: [docs/capabilities.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/capabilities.md) and
|
|
313
|
+
[docs/superpowers/build-notes.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/docs/superpowers/build-notes.md).
|
|
314
|
+
|
|
315
|
+
## License
|
|
316
|
+
|
|
317
|
+
The code in this repository is released under the [Apache License 2.0](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/LICENSE) (see also [NOTICE](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/NOTICE)).
|
|
318
|
+
|
|
319
|
+
Third-party models and data keep their own licenses, which the Apache License does not cover:
|
|
320
|
+
faster-whisper (MIT) and Whisper weights (MIT); PANNs code (MIT) and CNN14 weights (CC BY 4.0, trained on
|
|
321
|
+
AudioSet); SpeechBrain (Apache-2.0) and spkrec-ecapa-voxceleb (Apache-2.0); all-MiniLM-L6-v2 (Apache-2.0);
|
|
322
|
+
silero-vad (MIT); pyannote.audio (MIT) with gated model terms; AudioSet ontology labels (CC BY 4.0). Test
|
|
323
|
+
fixtures: `speech_es.ogg` is a LibriVox public-domain excerpt; the English fixtures are synthesized locally;
|
|
324
|
+
details in [tests/fixtures/audio/SOURCES.md](https://github.com/DNSdecoded/audio-intelligence-mcp/blob/main/tests/fixtures/audio/SOURCES.md). Check each model's terms before
|
|
325
|
+
commercial use.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
audio_mcp/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
|
|
2
|
+
audio_mcp/__main__.py,sha256=0ibgkP4rMGGrF3Ki7jg553FBq4zyajPSAiMywl1dgfc,42
|
|
3
|
+
audio_mcp/config.py,sha256=jkBGkSujVOsw8CfZYMsHybXQdUacltFWekt9p5PwZN8,4813
|
|
4
|
+
audio_mcp/context.py,sha256=68knJaSE4vC0UjsX5hVkzvil4AJkrD2Zkse3WudUphA,1282
|
|
5
|
+
audio_mcp/envelope.py,sha256=DudXG3-SN0Yfu297rNt4ITXELpYarGfin0_umcelh6o,3215
|
|
6
|
+
audio_mcp/jobs.py,sha256=j8KE56v71aF-q1iAFgr7fAkWl5v4Y-zq4JlyRgcqBJA,3956
|
|
7
|
+
audio_mcp/logging_setup.py,sha256=t1Knzo0JeGvGjGh5DpIjc2NWU4LWpTA54WlJfeG6VqU,1463
|
|
8
|
+
audio_mcp/server.py,sha256=yJreMCRCLAZ14FjOIG1rtbLsnpsQeXqf5sLm5RkrCK0,11519
|
|
9
|
+
audio_mcp/types.py,sha256=jUcXjkoz8UGTQPUHNhtnG5gLiZ4le3x3RDlcRtUaBrw,1580
|
|
10
|
+
audio_mcp/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
audio_mcp/analysis/diarize.py,sha256=5chrg7LZGj97zi2ubiHf3Moare-cNgVAcCo8WKpF2KI,3897
|
|
12
|
+
audio_mcp/analysis/events.py,sha256=OJ9D0O8AO5INJvLtKts2pMiQEAV_gUFnqc0TAPbMTeA,2756
|
|
13
|
+
audio_mcp/analysis/uncertainty.py,sha256=nKhi4RY3qlXsXZJ-ZDgMi7jAkms0Xe10T4wgd1PXUE8,3728
|
|
14
|
+
audio_mcp/backends/__init__.py,sha256=f3d8BnuEbGGEhxM-Ii01IdrdqtZ0TN4NGNjeB4kNFgo,45
|
|
15
|
+
audio_mcp/backends/audioset_labels.csv,sha256=zdEEmDPEuGEnwnc6wNFKJ1S2ptDReYAC7Vxm5plwhCk,14675
|
|
16
|
+
audio_mcp/backends/base.py,sha256=SrTQ6zDeJnG1bptoY-vdnFjxqW5Q7B-kdZuR1bDAjmE,6500
|
|
17
|
+
audio_mcp/backends/ecapa.py,sha256=utRqStsb-kqPMyGHoEYmwKLJFr5mUHBnn8bnBoipI0I,2338
|
|
18
|
+
audio_mcp/backends/energy_vad.py,sha256=RZS2dEfmWeFlPG_akxaK6m4EdPyMAtnlTqht3dtCc2Q,1034
|
|
19
|
+
audio_mcp/backends/fake.py,sha256=0jVkVV-XGyncIIdx8eecCYJHWElLQvtommDwfscNUf4,5690
|
|
20
|
+
audio_mcp/backends/llm.py,sha256=nuPnyFWVS7yr_UocQ6Iqg8aZsET_W5b3O0UMPJqxxAg,5535
|
|
21
|
+
audio_mcp/backends/panns.py,sha256=0nF5AcpNXNke-rjXDVUXTImZHGbD3poutKfUM1600rU,4177
|
|
22
|
+
audio_mcp/backends/pyannote_diar.py,sha256=cuulfOgZtrGrxwrMfKsvBhKZ3j1TbndBTtharTzKz84,2063
|
|
23
|
+
audio_mcp/backends/silero.py,sha256=zpXfuBRUB4IBoKzK1g9Mi0yJAiASA3kpb4jM1uX5rYQ,1470
|
|
24
|
+
audio_mcp/backends/text_embed.py,sha256=1Cfy8V3wuglXxpyw7Lmb_La14y6nj1yauj9Lh2rXyi8,1653
|
|
25
|
+
audio_mcp/backends/whisper.py,sha256=94-6gpxEoJdbz3zb4n174q5AkxYkaMDnaE_40h59VXY,6189
|
|
26
|
+
audio_mcp/compare/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
+
audio_mcp/compare/compare.py,sha256=MGotYy_1G-lm3HFtCRywt6ET5EUA_ZHiY6b8FHbc_B0,6193
|
|
28
|
+
audio_mcp/dsp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
|
+
audio_mcp/dsp/features.py,sha256=j2JLsaeOyN8-E1QxB11ABRG5bVu_Hqvyv0kMRDCeVAA,11053
|
|
30
|
+
audio_mcp/dsp/integrity.py,sha256=gzI6pPGFefIqyLSqbimo_zTzYhbXO1XKXf6lmdBnFnc,4398
|
|
31
|
+
audio_mcp/dsp/preprocess.py,sha256=8hMs5NLY7uyg7CDGvGm2KDIy3GfaVnlwE0HfJyPYAhk,3207
|
|
32
|
+
audio_mcp/dsp/quality.py,sha256=LZJ5E_5CV4Z-eEGorIiSIp4il3Z2jC7RPR8VU7EBK_E,6030
|
|
33
|
+
audio_mcp/dsp/speech.py,sha256=NmE2VHRMDrZDYXffQ-L9p3QMVsRSXfGT8FpnhY7lXEo,1773
|
|
34
|
+
audio_mcp/eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
|
+
audio_mcp/eval/metrics.py,sha256=TjJdMzCwsP9dbOsywyoqp2qPhQYOzty6VKAoD4b07XQ,4314
|
|
36
|
+
audio_mcp/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
+
audio_mcp/export/exporters.py,sha256=71ohxlxfYHa9xsnxGVYnak9c3DOSbGvI8Bik7Y70nZc,4966
|
|
38
|
+
audio_mcp/export/redact.py,sha256=UD5StHqYLa3Ti275ai0pANxqEhLq9wytxh2qdwP2hgw,1787
|
|
39
|
+
audio_mcp/ingest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
|
+
audio_mcp/ingest/decode.py,sha256=_x41Bsr0D_bb-lnvYCws4vGAZWODUDxTLuD7a4S5bWE,5979
|
|
41
|
+
audio_mcp/ingest/sources.py,sha256=QN6VtFcQs1ZjbbtzQ9F4ohshbFMdj2z86hStlX0WPo8,6795
|
|
42
|
+
audio_mcp/library/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
+
audio_mcp/library/index.py,sha256=tFnqf1jOdnZo841DsPUPXEF1UWb7bCXxAYOtpqmwrJU,10253
|
|
44
|
+
audio_mcp/pipeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
|
+
audio_mcp/pipeline/planner.py,sha256=wjRl5I-f_5GbaxaJ435-9ZSvYFt7DP1tB1roRRf7KXE,3442
|
|
46
|
+
audio_mcp/pipeline/runner.py,sha256=G7sSwOAe66trdKgpbf8A02pOdxDlfGws-lHJTGXs0bE,5958
|
|
47
|
+
audio_mcp/pipeline/stages.py,sha256=O83OCb6QWuKW0cAyyq32gxCcJm7wELVnQr6ttqxuNMU,12666
|
|
48
|
+
audio_mcp/reasoning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
+
audio_mcp/reasoning/ask.py,sha256=limsGQF9CERSyvMufoSKeYGWw5SMGhIEWaOkFY6Ivwg,12610
|
|
50
|
+
audio_mcp/reasoning/llm_grounded.py,sha256=MLPFCpQh9npL5rOhOQHQR6787PDXm9MCQaIwYqs8FS0,5138
|
|
51
|
+
audio_mcp/reasoning/summarize.py,sha256=0zP0Di9BULrH_wvfYgF7clFBaHAzUQw9FetG_opy3Kg,4700
|
|
52
|
+
audio_mcp/store/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
|
+
audio_mcp/store/audio_store.py,sha256=d6q6fPZwPgJFN81IVBMdKKrDRq27_zPvHcXQqBaBoLc,6381
|
|
54
|
+
audio_mcp/store/cache.py,sha256=6aoXm9rSzanUADOA0EiYYuoAkBzJ9Ht-5y3NE4yRwwA,1201
|
|
55
|
+
audio_mcp/store/retention.py,sha256=uJGJ9gLQ5ZgWhMwEnV8PsBLO_ldk0yr4AXjvSrjo1j0,3879
|
|
56
|
+
audio_mcp/stream/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
+
audio_mcp/stream/sessions.py,sha256=oQEOYmhJ_B_s3XyswsiwYcy8YmsP-tKPkaDeEcAVsto,9738
|
|
58
|
+
audio_mcp/timeline/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
|
+
audio_mcp/timeline/graph.py,sha256=BpbwYBoLo5b90nHaPmy58A3TVfKp1GrvbafXGhExotA,5079
|
|
60
|
+
audio_mcp/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
|
+
audio_mcp/tools/handlers.py,sha256=8PnBjeJi1-RchkGRR4GQ6DS0Cd8oYK7I0q8M7uVs_uQ,26333
|
|
62
|
+
audio_mcp/tools/schemas.py,sha256=u0sCLkVCnb34agufgzdjvZrDezaaWdTeBROX0EdwGWI,6179
|
|
63
|
+
audio_intelligence_mcp-0.1.0.dist-info/METADATA,sha256=xvLSgLQpy3WUVEVMi-57IbvbO7q0AjvYWqzpDXLKOZg,18346
|
|
64
|
+
audio_intelligence_mcp-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
65
|
+
audio_intelligence_mcp-0.1.0.dist-info/entry_points.txt,sha256=thOdPKonE4A8plGcgoMFViBpKjRMzXf34YyMskcntEo,52
|
|
66
|
+
audio_intelligence_mcp-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
67
|
+
audio_intelligence_mcp-0.1.0.dist-info/licenses/NOTICE,sha256=IucFRSyM6mQZLToC0iq_i740S1OWSl0Q1iXU3I8H8g0,247
|
|
68
|
+
audio_intelligence_mcp-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
audio_mcp/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
audio_mcp/__main__.py
ADDED
|
File without changes
|