Open Source · LGPL-3.0

pyvoicebox

$ pip install pyvoicebox-sap

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

A complete port of the VOICEBOX Speech and Audio Processing toolbox by Mike Brookes, Imperial College London.

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)

Ready to get started?

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