Commit 32a96e8
feat(audio): Add audio module with mel spectrogram, resampling, streaming
Implements GH-131: Comprehensive audio module for ASR/TTS applications.
## Added
- `audio::mel` - Mel spectrogram computation with MelFilterbank
- `audio::resample` - High-quality sample rate conversion
- `audio::stream` - Chunked streaming primitives
- `audio::AudioError` - Unified error type
- `audio::DecodedAudio` - Decoded audio container
## Features
- `audio` - Core audio processing (rustfft, thiserror)
- `audio-capture` - Platform audio capture (future)
- `audio-playback` - Platform audio output (future)
- `audio-codec` - Format decoding (future)
This unblocks whisper.apr CI which depends on the audio feature.
Closes #131
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent d450d8a commit 32a96e8
File tree
7 files changed
+1335
-0
lines changed- src
- audio
7 files changed
+1335
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
| |||
0 commit comments