rubato-resample

Community

Effortless Rust audio resampling.

AuthorNackalalalong
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Resample audio in Rust for changing sample rates, normalizing mic input to 16 kHz for ASR, and smoothing variable-rate streams across common rates like 8/16/44.1/48 kHz.

Core Features & Use Cases

  • Flexible resamplers: choose between SincFixedIn, SincFixedOut, FastFixedIn, and SincInterpolationParameters to balance quality and latency.
  • Streaming-ready: supports chunked processing in real-time pipelines with per-call input_frames_next sizing.
  • Channel handling: handles mono to multi-channel input, with optional downmixing before resampling.
  • Practical patterns: includes examples for normalization, streaming pipeline, and stereo-to-mono downmix before resampling.

Quick Start

Create a SincFixedIn resampler to convert 48 kHz input to 16 kHz and integrate it into your audio processing loop.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rubato-resample
Download link: https://github.com/Nackalalalong/voicebot-rs/archive/main.zip#rubato-resample

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.