Harmonic sinusoidal modelling code library

Cross-platform C/C++ library for harmarmonic sinusoidal modelling and supporting routines. This is a self-contained code library with no external dependency.

align8.cpp

8-byte-aligned memory allocation and stack management routines.

arrayalloc.h

2-, 3- and 4-dimensional array allocation routines with garbage collector class.

fft.cpp

Fast Fourier transform, fast multi-resolution Fourier transform, fast cosine transforms and local (lapped) cosine transform.

hs.cpp

Structures and routines for harmonic sinusoidal modelling: convex polygonic inharmonicity model, spectral and harmonic spectral peak finding, harmonic sinusoid tracking and harmonic sinusoidal synthesis.

hsedit.cpp

Audio editing routines using harmonic sinusoidal model.

hssf.cpp

Source-filter repersentation of harmonic sinusoids, including source-filter analysis and synthesis.

matrix.cpp

Matrix routines: basic memory handling, basic matrix arithmetic, inverse, linear systems, eigensystems, LU/QR/Choleski/LDL factorizations.

multires.cpp

Composite multiresolution Fourier transform.

opt.cpp

Optimization routines: linear convex search, gradient, Newton.

procedures.cpp

Supporting routines: basic audio features, spectrogram, MFCC, fast convolution, FFT time-frequency filters, sorting, numerical integration, etc.

quickspec.cpp

Class for on-access computation and storage management of audio spectrograms.

sinest.cpp

Sinusoidal parameter estimation algorithms: least-square method, time-frequency reassignment, additive and multiplication reestimation, quadratic-interpolated FFT with AM/FM, local and piecewise derivative methods.

sinsyn.cpp

Sinusoid synthesis: cubic spline synthesizer adapted from McAulay-Quatieri, general piecewise synthesizer.

splines.cpp

Cubic spline interpolation routines.

tstream.h

Virtual stream I/O class.

vibrato.cpp

Vibrato representation of harmonic sinusoids, including vibrato analysis/synthesis routines.

wavelet.cpp

Wavelet routines: Daubechies and spline wavelet filters, fast DWT, adaptive wavelet packets.

windowfunctions.cpp

Window functions and their derivatives.

xcomplex.h

Complex arithmetic.