Supporting a new audio data type

To use a sound file format that isn't already supported by the audio system, you provide an audio sequence that wraps the data format. The new sequence must be able to read the file format and convert it to one of the formats supported by the audio system. Once the new sequence type is registered with the Media Registry, you can play that type of sequence with TSound or a standard audio player.

You could also create an audio sequence that implemented an audio synthesis algorithm, providing a sequence type for producing some type of synthesized sound. For example, TWaveTable is an audio sequence used to synthesize periodic waveforms. The classes based on TWaveTable, such as TSineWave, set up a sample table by providing a single period of the waveform. A waveform of any frequency can then be produced from the wave table.


[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