1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
Feb. 27, 1997
libtsp library routines
The libtsp package is a library of routines for signal processing. It also
includes a number of general purpose routines useful for program development.
Examples of programs using this library for filtering, LPC analysis/synthesis
and resampling are available as part of the AFsp package.
The libtsp library routines are divided into a number of categories, with the
first two letters of the name keyed to the category. Examples of the functions
available are listed for each category.
AF - Audio file routines
- Open and close audio files
- Read and write audio files
FI - Filtering routines
- Filter a signal (FIR and IIR filters)
- Generate windows (Hamming, Kaiser and raised-cosine)
- Design Kaiser-windowed lowpass filters
- Read filter coefficient files
FL - File routines
- Fill in the full path name for a file name
- Return the creation date for a file
- Prompt and read a line of text
- Read and write numeric data
FN - Functions
- Bessel function (0'th order modified)
- Greatest common divisor
- Series expansion of Chebyshev polynomials
- Log base 2
MA - Matrix routines
- Allocate space for a matrix
- Print a matrix
- Solve equations (Cholesky decomposition and Toeplitz matrix)
MS - Miscellaneous routines
- Convolve coefficients of two arrays
- Nearest integer, floor and ceiling functions
- Interpolate a table of values (linear and cubic)
- Rational approximation to a value
SP - Signal processing routines
- Fast Fourier transform (complex and real)
- Discrete cosine transform
- Calculate covariance or autocorrelation from a block of data
- Convert between linear prediction parameters (error filter coefficients,
predictor coefficients, cepstral coefficients, line spectral frequencies,
reflection coefficients, autocorrelation coefficients)
- Solve for linear prediction coefficients (covariance and autocorrelation
methods)
- Calculate the mean-square filtering error
- Distance measures (Itakura-Saito and RMS log LPC)
- Quantize a value given a table of boundaries (binary search)
ST - String routines
- Copy and concatenate strings
- Decode numeric values from a string
- Match a string to a table of keywords
UT - Utility routines
- Decode command line options
- Error message routines
VR - Vector routines
- Print a vector of values
- Vector functions (zero an array, convert to dB, dot product, minimum,
maximum, scale, add, subtract, multiply)
The libtsp routines are written in C and have been tested on DEC, HP, SGI, Sun,
and PC-386 machines, using a number of different compilers (ANSI and non-ANSI).
The routines are covered by copyright, see the file "Copying" for details of
the distribution conditions.
libtsp-V2R8.tar.Z
http://www.TSP.EE.McGill.CA/software.html
or ftp://ftp.TSP.EE.McGill.CA/pub/libtsp
=============
Changes in V2R8
- support for Comdisco SPW Signal files
- support for 64-bit float data in audio files
Changes in V2R7a
- support for 8-bit data in audio files
Changes in V2R6
- support for text audio files
- Kaiser window routines
- more string decoding routines
Changes in V2R5
- HTML format documentation
Changes in V2R4b
- new audio file formats supported
- fix to UTgetHost for Solaris
- fix to AFwriteHead
Changes in V2R3
- changes for MS-DOS
Changes in V2R2
- changes for Sun CC compiler
Changes in V2R1
- first net release
=============
Peter Kabal
Department of Electrical Engineering McGill University
+1 514 398-7130 +1 514 398-4470 Fax
kabal@EE.McGill.CA
$Id: README,v 1.13 1997/02/27 libtsp-V2R8 $
|