MCPcopy Index your code
hub / github.com/andrewcsmith/vox_box.rs

github.com/andrewcsmith/vox_box.rs @v0.2.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.4 ↗ · + Follow
117 symbols 243 edges 11 files 23 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status

vox_box.rs

A tool to let you hack away at voice audio recordings in Rust.

How do I do it?

Documentation

What's included

  • Filter preemphasis, normalization, RMS calculation
  • Autocorrleation calculation
  • Laguerre root finding and polynomial division
  • Mel-Frequency Cepstral Coefficient (MFCC) calculation
  • Linear Predictive Coding (LPC) coefficient calculation
  • Formant path finder (McCandless algorithm, from Praat)
  • Pitch finding (Boersma autocorrelation method, from Praat)

Why is it broken?

Open an issue! There are many incomplete aspects to this library, as it is highly specialized to my personal projects. Once others begin using it, I expect that it will become more generalized.

Extension points exported contracts — how you extend this code

Autocorrelate (Interface)
Trait for things that can Autocorrelate. Implement the mutable version, which takes a slice of coefficients, and receive [2 …
src/periodic.rs
Filter (Interface)
Filter Preemphasis should give a 6db/oct boost above a particular center frequency Factor is center `frequency / sample [1 …
src/waves.rs
ToComplex (Interface)
(no doc) [2 implementers]
src/complex.rs
LPC (Interface)
(no doc) [1 implementers]
src/spectrum.rs
Polynomial (Interface)
(no doc) [1 implementers]
src/polynomial.rs
LocalMaxima (Interface)
Trait for finding local maxima in a given slice. `local_maxima` should return `Vec<(bin, value)>` where `bin` is the ind [1 …
src/periodic.rs
RMS (Interface)
(no doc) [1 implementers]
src/waves.rs
SquareRoot (Interface)
(no doc) [1 implementers]
src/complex.rs

Core symbols most depended-on inside this repo

find_roots
called by 8
src/polynomial.rs
sqrt
called by 7
src/complex.rs
degree
called by 6
src/polynomial.rs
max_amplitude
called by 4
src/waves.rs
laguerre
called by 4
src/polynomial.rs
autocorrelate
called by 4
src/periodic.rs
find_formants
called by 3
src/lib.rs
amplitude
called by 3
src/waves.rs

Shape

Function 57
Method 34
Interface 17
Class 8
Enum 1

Languages

Rust100%

Modules by API surface

src/spectrum.rs34 symbols
src/periodic.rs22 symbols
src/polynomial.rs19 symbols
src/waves.rs15 symbols
src/complex.rs10 symbols
examples/pitch_detection.rs4 symbols
benches/polynomial.rs4 symbols
src/lib.rs3 symbols
tests/lib.rs2 symbols
examples/formant_extraction/src/main.rs2 symbols
benches/periodic.rs2 symbols

For agents

$ claude mcp add vox_box.rs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page