docs.rs failed to build voice-dsp-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
voice-dsp
DSP primitives for the voice TTS pipeline, built on mlx-rs (Apple MLX).
Install
[]
= "0.1"
What's inside
- STFT / iSTFT — Short-Time Fourier Transform and its inverse, matching PyTorch conventions
MlxStft— batched STFT wrapper used by the vocoder pipeline (transform→ magnitude + phase,inverse→ audio)- Windowing — Hanning window generation
- Interpolation — 1-D nearest/linear interpolation for upsampling tensors
- Phase utilities —
mlx_angle(complex argument) andmlx_unwrap(phase unwrapping)
Usage
use ;
// Batched STFT for the vocoder
let stft = new?;
let = stft.transform?;
let reconstructed = stft.inverse?;
All functions operate on mlx_rs::Array and return Result<_, mlx_rs::error::Exception>.
Requirements
- macOS with Apple Silicon (MLX requirement)
License
MIT