Audio sequences

Audio sequences represent audio data streams--they correspond to the cassette tapes played by tape recorders. Only one audio sequence can be loaded into a player at a time. All types of audio sequences are instances of classes derived from TAudioSequence.

You can derive new classes from TAudioSequence to wrap different sound file formats or to create new synthesized sounds. For more information on creating new audio sequences, see "Supporting a new audio data type" on page 315. The Audio system provides several types of audio sequences:


TAudioIFFSequence wraps an Audio Interchange File Format file.

T8BitAudioSequence wraps an 8-bit audio file.

TQuickTimeAudioSequence encapsulates one or two tracks from a QuickTime audio file.

TWaveTable is an abstract base class that represents audio sequences used to synthesize periodic waveforms. When you subclass TWaveTable, you can specify a wavetable (a single period of the waveform). TWaveTable samples that wave table to produce a waveform of any frequency.

TSineWave is a subclass of TWaveTable that synthesizes a sine wave. It can be used for music synthesis or test tones. Two TSineWaves played by two TAudioPlayers can be mixed together to generate telephone touch tones.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker