Audio

With the audio classes, you can record, play, synthesize, store, and manipulate digital audio for audio, music, and multimedia applications.

The audio classes are based on the time-media architecture, which provides a common framework for controlling and synchronizing sound, MIDI, video, and animation sequences.

The Audio system provides a flexible and extensible architecture to accommodate new kinds of applications. The system features:

Audio components are the basic building blocks that correspond to real-world objects such as cassette players, speakers, and mixers. You use audio sequences in conjunction with audio players to record, reproduce, and synthesize sounds.

The most common use of the Audio system is to play and record audio data. Read "Audio concepts" on page 305 to learn how to use TSound for playing and recording audio. TSound automatically creates the correct audio stream and the necessary audio components for playing and recording an audio file.

You can also create, modify, and play audio data by connecting individual audio components. To learn about how you can use audio components, read "Audio concepts" on page 305.

The three main types of audio classes are audio components, audio players, and audio sequences.


TAudioComponent represents a software or hardware unit that processes audio data. Audio components correspond to real-world components such as tape recorders, audio filters, or special-effects processors.

TAudioPlayer is an abstract base class derived from TPlayer that represents the players you use to play, record, and synchronize audio data. Audio players correspond to real-world tape recorders.

TAudioSequence is an abstract base class derived from TMediaSequence that represents the audio data streams played by audio players. Audio sequences correspond to real-world cassette tapes.

TAudioException is a concrete error class derived from TStandardException that defines the errors generated by the audio classes.

Audio concepts
Recording audio data
Playing audio data
Synchronizing audio and other time media
Supporting a new audio data type

[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