GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
audio(1audio) audio(1audio)

audio - TSP Audio Programs

The AFsp package provides several audio file utility programs and a library of routines for reading and writing audio files.

Compare audio files, producing statistics and signal-to-noise ratio figures.
Copy audio files. This program combines samples from input audio files (an arbitrary linear combination) and writes them to the output file in a user selectable format. One application is to provide format conversion for an audio file; another is to combine samples from multi-channel files.
Filter audio files. This program filters an audio file with an FIR, IIR or all-pole filter. This program can be used with an appropriate filter for sample rate conversion. The AFsp package includes a number of filter from the ITU-T Software Tool Library (G.191) in a form that can be used directly with the FiltAudio program.
Generate noise. This program generates an audio file containing Gaussian white noise.
Generate a sinusoid. This program generates an audio file containing a sine wave of a given amplitude and frequency.
Display information about an audio file.
Demonstration program to do LPC analysis on a speech file.
Demonstration program to do LPC synthesis from a residual file.
Perceptual evaluation of audio quality.
Resample data from an audio file. This process involves interpolating between the samples in the original file to create a new sequence of samples with a new spacing (sampling rate).

The audio file open routine automatically senses the input file type. The data format for the file is passed to the audio file reading routines. The audio file reading routine does byte swapping and format conversion on the fly as the file is read. The user sees float data without needing to worry about the underlying data format.

Once a file is opened for writing, the user calls routines which take the user's float data and do byte swapping and format conversion of the data transparently.

The library routines supplied in AFsp package form part of the libtsp signal processing library. The AFsp routines are written in C and have been tested on Unix and Windows.

Close an audio file
Open an audio file for reading
Open an audio file for writing
Read data from an audio file (return float values)
Explicitly set the input audio file type
Set the audio file information string
Set defaults for headerless audio files
Write data to an audio file (float input values)

The following file formats are supported for reading.

The following file formats are supported for writing.

The following (uncompressed) data types are supported.

8-bit mu-law and A-law
8-bit signed and unsigned fixed-point
9-bit to 32-bit signed fixed-point
32-bit floating-point
64-bit floating-point

InfoAudio CompAudio ConcatAudio CopyAudio GenNoise LPanal LPsyn ResampAudio SunAudioPort SunPlay

TSP (audio)

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.