Voicebox: Speech Processing Toolbox for MATLAB Some files have been prefixed "v_" to avoid name conflicts Audio File Input/Output readwav - Read a WAV file writewav - Write a WAV file readhtk - Read HTK waveform files writehtk - Write HTK waveform files readsfs - Read SFS files readsph - Read SPHERE/TIMIT waveform files readaif - Read AIFF Audio Interchange file format file readcnx - Raed BT Connex database files readau - Read AU files (from SUN) readflac - Read FLAC files wavread - Emulation of legacy MATLAB function to read a WAV file wavwrite - Emulation of legacy MATLAB function to write a WAV file Frequency Scales frq2bark - Convert Hz to the Bark frequency scale frq2cent - Convert Hertz to cents scale frq2erb - Convert Hertz to erb rate scale frq2mel - Convert Hertz to mel scale frq2midi - Convert Hertz to midi scale of semitones bark2frq - Convert the Bark frequency scale to Hz cent2frq - Convert cents scale to Hertz erb2frq - Convert erb rate scale to Hertz mel2frq - Convert mel scale to Hertz midi2frq - Convert midi scale of semitones to Hertz Fourier/DCT/Hartley Transforms rfft - FFT of real data irfft - Inverse of FFT of real data rsfft - FFT of real symmetric data rdct - DCT of real data irdct - Inverse of DCT of real data rhartley - Hartley transform of real data zoomfft - calculate the fft over a portion of the spectrum with any resolution sphrharm - calculate forward and inverse shperical harmonic transformations Probability Distributions berk2prob - Convert Berksons to probability gaussmix - Fit a gaussian mixture model to data values gaussmixd - Calculate marginal and conditional density distributions and perform inference gaussmixk - Estimate Kuleck-Leibler divergence between two GMMs gaussmixg - Calculate global mean, covariance and mode of a Gaussian mixture gaussmixm - Estimate mean and variance of GMM vector magnitude gaussmixp - Calculates and plots full and marginal probability density from a GMM gaussmixt - multiplies two GMMs together gausprod - Calculate the product of multiple gaussians gmmlpdf - OBSOLETE - use gaussmixp instead histndim - N-dimensional histogram (+ plot 2-D histogram) lognmpdf - Prob density function of a lognormal distribution maxgauss - Calculate the mean and variance of max(x) where x is a gaussian vector normcdflog - Calculate the log of the Normal cdf without underflow pdfmoments - Convert between central moments, raw moments and cumulants prob2berk - Convert probability to Berksons randvec - Generate random vectors randiscr - Generate discrete random values with prescribed probabilities rnsubset - Select a random subset randfilt - Generate filtered random noise without transients stdspectrum - Generate standard audio and speech spectra usasi - Generate USASI noise (obsolete: use stdspectrum instead) v_chimv - Approximate mean and variance of non-central chi distribution vonmisespdf - Calculate the pdf of the Von Mises (circular normal) distribution Vector Distances disteusq - Calculate euclidean/mahanalobis distances between two sets of vectors distchar - COSH spectral distance between AR coefficient sets distitar - Itakura spectral distance between AR coefficient sets distisar - Itakura-Saito spectral distance between AR coefficient sets distchpf - COSH spectral distance between power spectra distitpf - Itakura spectral distance between power spectra distispf - Itakura-Saito spectral distance between power spectra Speech Analysis activlev - Calculate the active level of speech (ITU-T P.56) activlevg - Calculate the active level of speech robustly to added noise dypsa - Estimate glottal closure instants from a speech waveform enframe - Divide a speech signal into frames for frame-based processing correlogram - calculate a 3-D correlogram ewgrpdel - Energy-weighted group delay waveform fram2wav - Interpolate frame-based values to a waveform filtbankm - Transformation matrix for a linear/mel/erb/bark-spaced filterbank from dft output fxpefac - PEFAC pitch tracker fxrapt - RAPT pitch tracker gammabank - Calculate a bank of IIR gammatone filters importsii - Calculate the SII importance function (ANSI S3.5-1997) modspect - Caluclate the modulation specrogram mos2pesq - Convert MOS values to equivalent PESQ scores overlapadd - Reconstitute an output waveform after frame-based processing pesq2mos - Convert PESQ scores to equivalent MOS values phon2sone - Convert signal levels from phons to sones psycdigit - Experimental estimation of monotonic/unimodal psychometric function using TIDIGITS psycest - Experimental estimation of monotonic psychometric function psycestu - Experimental estimation of unimodal psychometric function psychofunc - Psychometric functions v_sigma - Identify glottal closure and opening intstants from Lx or EGG waveform snrseg - Segmental SNR and Global SNR calculation sone2phon - Convert signal levels from sones to phons soundspeed - Returns the speed of sound in air as a function of temperature spgrambw - Spectrogram with many options stoi2prob - Convert STOI intelligibility measure to probability of correct recognition txalign - Align two sets of time markers vadsohn - Voice activity detector v_ppmvu - Calculate the PPM, VU or EBU levels of a signal LPC Analysis of Speech ccwarpf - warp complex cepstrum coefficients lpcauto - LPC analysis: autocorrelation method lpcbwexp - Bandwidth expansion of LPC filter lpccovar - LPC analysis: covariance method lpcconv - Arbitrary conversion between LPC representations lpcifilt - inverse filter a speech signal lpcrand - create random stable filters lpcrr2am - Matrix with all LPC filters up to order p lpcstable - check for stability and force stable filters lpc--2-- - Convert between alternative LPC representation Speech Synthesis sapisynth - Text-to-speech synthesis of a string or matrix glotros - Rosenberg model of glottal waveform glotlf - Liljencrants-Fant model of glottal waveform Speech Enhancement estnoiseg - Estimate the noise spectrum from noisy speech using MMSE method estnoisem - Estimate the noise spectrum from noisy speech using minimum statistics specsub - Speech enhancement using spectral subtraction ssubmmse - Speech enhancement using MMSE estimate of spectral amplitude or log amplitude ssubmmsev - Speech enhancement using MMSE estimate and VAD-based noise estimation specsubm - (obsolete algorithm) Spectral subtraction spendred - Speech Enhancement and Dereverberation (Doire's algorithm) Speech Coding lin2pcmu - Convert linear PCM to mu-law PCM pcma2lin - Convert A-law PCM to linear PCM pcmu2lin - Convert mu-law PCM to linear PCM lin2pcma - Convert linear PCM to A-law PCM kmeanlbg - Vector quantisation: LBG algorithm kmeanhar - Vector quantization: K-harmonic means potsband - Create telephone bandwidth filter v_kmeans - Vector quantisation: k-means algorithm Speech Recognition melbankm - Mel filterbank transformation matrix melcepst - Mel cepstrum frontend for recogniser cep2pow - Convert mel cepstram means & variances to power domain pow2cep - Convert power domain means & variances to mel cepstrum ldatrace - constrained Linear Discriminant Analysis to maximize trace(W\B) Signal Processing convfft - 1-dimensional convolution/corrolation using FFT ditherq - Add dither and quantize a signal filterbank - Apply a bank of IIR filters to a signal maxfilt - Running maximum filter meansqtf - Output power of a filter with white noise input momfilt - Generate running moments schmitt - Pass a signal through a schmitt trigger sigalign - Align a clean refeence with a noisy signal teager - Calculate the Teager energy waveform v_addnoise - Add noise to a signal at a chosen SNR v_findpeaks - Find peaks in a signal or spectrum v_resample - Resamples a signal: identical to MATLAB resample but removes filter transients v_windinfo - Calculate window properties and figures of merit v_windows - Window function generation zerocros - Find interpolated zero crossings Information Theory huffman - Generate Huffman code entropy - Calculate entropy and conditional entropy Computer Vision imagehomog - Apply a homography transformation to an image with bilinear interpolation polygonarea - Calculate the area of a polygon polygonwind - Test if points are inside or outside a polygon polygonxline - Find where a line crosses a polygon qrabs - Absolute value of a real quaternion qrdivide - divide two real quaternions (or invert one) qrdotdiv - elmentwise division of two real quaternion arrays qrdotmult - elmentwise multiplication of two real quaternion arrays qrmult - multiply two real quaternion arrays qrpermute - permute the indices of a quaternion array rectifyhomog - Apply rectifing homographies to a set of cameras to make their optical axes parallel rot--2-- - Convert between different representations of rotations rotqrmean - Find the average of several rotation quaternions rotqrvec - Apply a quaternion rotation to an array of 3D vectors sphrharm - forward and inverse spherical harmonic transform using uniform, Gaussian or arbitrary inclination (elevation) grids and a uniform azimuth grid. upolyhedron - Calculate the vertex coordinates and other characteristics of a uniform polyhedron Printing and Display functions axisenlarge - Selectively enlarge figure axis for clarity cblabel - Add a label onto the colorbar figbolden - Make a figure bold and adjust colours for printing clearly fig2emf - Make a figure bold and save as a windows metafile fig2pdf - Make a figure bold and save as pdf, eps or ps frac2bin - Convert numbers to fixed-point binary strings lambda2rgb - convert wavelength to XYZ or RGB colour triplets sprintsi - Print a value with an SI multiplier sprintcpx - Print a complex number with real and imaginary parts texthvc - write text on a plot with specified alignment and colour tilefigs - Arrange all figures on the screen v_colormap - Set and plot colormap information xticksi - Label x-axis tick marks using SI multipliers yticksi - Label y-axis tick marks using SI multipliers xyzticksi - Helper function for xticksi and yticksi Voicebox Parameters and System Interface hostipinfo - Get information about the computer name and internet connections regexfiles - Recursively find files that match a regular expression pattern unixwhich - Search the WINDOWS system path for an executable program (like UNIX which) voicebox - Global installation-dependent parameters winenvar - Obtain WINDOWS environment variables Utility Functions atan2sc - arctangent function that returns the sin and cos of the angle besselratio - calculate the Bessel function ratio: besseli(v+1,x)./besseli(v,x) besselratioi - calculate the inverse of besselratio [only for v=0] bitsprec - Rounds values to a precision of n bits choosenk - All choices of k elements out of 1:n without replacement choosrnk - All choices of k elements out of 1:n with replacement dlyapsq - Solve the discrete lyapunov equation dualdiag - Simultaneously diagonalise two hermitian matrices finishat - Estimate the finishing time of a long loop fopenmkd - Like FOPEN() but creates any missing directories/folders gammalns - Calculates log(gamma(x)) for signed real-valued x hypergeom1f1 - Confluent Hypergeometric function or Kummer's M function logsum - Calculates log(sum(exp(x))) without overflow/underflow minspane - calculate the minimum (or shortest) spanning tree mintrace - find a row permutation to minimize the trace of a matrix m2htmlpwd - Create HTML documentation of matlab routines in the current directory nearnonz - Replace each zero element with the nearest non-zero element paramsetch - Set a parameter structure and do valididty checks permutes - All n! permutations of 1:n quadpeak - Find quadratically-interpolated peak in a 2D array rotation - Generate rotation matrices skew3d - Generate 3x3 skew symmetric matrices zerotrim - Remove empty trailing rows and columns %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Generated on Mon 06-Aug-2018 14:48:32 by