Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AudioTone Class Reference

The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory. More...

#include <audio.h>

Inheritance diagram for AudioTone:

AudioSample List of all members.

Public Methods

 AudioTone (unsigned size, unsigned f1, unsigned rate=8000)
 AudioTone (unsigned size, unsigned f1, unsigned f2, unsigned rate=8000)
unsigned getFreq1 (void)
unsigned getFreq2 (void)

Detailed Description

The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory.

These tone samples can be either single or dual tones, and are created as linear samples of a specified sample rate.

Author(s):
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

AudioTone::AudioTone ( unsigned size,
unsigned f1,
unsigned rate = 8000 )
 

AudioTone::AudioTone ( unsigned size,
unsigned f1,
unsigned f2,
unsigned rate = 8000 )
 


Member Function Documentation

unsigned AudioTone::getFreq1 ( void ) [inline]
 

unsigned AudioTone::getFreq2 ( void ) [inline]
 


The documentation for this class was generated from the following file:
Generated at Fri Oct 5 09:43:52 2001 for ccaudio by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001