{% extends "main.html" %} {% block tabs %} {{ super() }}
Open Source · LGPL-3.0

{% include ".icons/custom/logo.svg" %} pyvoicebox

$ pip install pyvoicebox-sap

280+ speech and audio processing functions, fully typed, ported from MATLAB to Python.

A complete port of the VOICEBOX toolbox by Mike Brookes, Imperial College London.

Everything you need to analyze, enhance, and transform speech signals

Faithful MATLAB port with a Pythonic API

Every function preserves its original VOICEBOX name and behavior, rigorously validated against the MATLAB source via GNU Octave. Drop-in replacements using NumPy arrays.

from pyvoicebox import *
import numpy as np

# Frame audio into overlapping windows
signal = np.random.randn(16000)
frames = v_enframe(signal, 400, 160)

# Mel-scaled filterbank
m, _, _ = v_melbankm(26, 512, 16000)

# LPC analysis → cepstral coefficients
ar, e = v_lpcauto(frames, 12)
cc = v_lpcar2cc(ar, 12)

Interactive notebooks

Jupyter notebooks with real speech data.

Ready to get started?

280+ functions. Fully typed. 500+ tests against the original MATLAB source.

{% endblock %} {% block content %}{% endblock %} {% block scripts %} {{ super() }} {% endblock %}