\section{ost::Audio\-Tone Class Reference} \label{classost_1_1_audio_tone}\index{ost::AudioTone@{ost::Audio\-Tone}} The tone class is used to construct or generate a tone sample in memory. generate audio sample in memory. {\tt \#include $<$audio.h$>$} Inheritance diagram for ost::Audio\-Tone::\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2cm]{classost_1_1_audio_tone} \end{center} \end{figure} \subsection*{Public Methods} \begin{CompactItemize} \item {\bf Audio\-Tone} (unsigned size, unsigned f1=0, unsigned f2=0, unsigned {\bf rate}=8000) \item void {\bf Fill} (unsigned max=0) \begin{CompactList}\small\item\em Fill the current sample frame with more tone data.\item\end{CompactList}\item void {\bf set\-Freq} (unsigned f1, unsigned f2=0) \end{CompactItemize} \subsection*{Protected Attributes} \begin{CompactItemize} \item double {\bf p1} \item double {\bf p2} \item double {\bf v1} \item double {\bf v2} \item double {\bf fa1} \item double {\bf fa2} \end{CompactItemize} \subsection{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. \begin{Desc} \item[Author: ]\par David Sugar $<${\tt dyfet@ostel.com}$>$ \end{Desc} \subsection{Constructor \& Destructor Documentation} \index{ost::AudioTone@{ost::Audio\-Tone}!AudioTone@{AudioTone}} \index{AudioTone@{AudioTone}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}ost::Audio\-Tone::Audio\-Tone (unsigned {\em size}, unsigned {\em f1} = 0, unsigned {\em f2} = 0, unsigned {\em rate} = 8000)}\label{classost_1_1_audio_tone_a0} \subsection{Member Function Documentation} \index{ost::AudioTone@{ost::Audio\-Tone}!Fill@{Fill}} \index{Fill@{Fill}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::Audio\-Tone::Fill (unsigned {\em max} = 0)}\label{classost_1_1_audio_tone_a1} Fill the current sample frame with more tone data. \index{ost::AudioTone@{ost::Audio\-Tone}!setFreq@{setFreq}} \index{setFreq@{setFreq}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ost::Audio\-Tone::set\-Freq (unsigned {\em f1}, unsigned {\em f2} = 0)}\label{classost_1_1_audio_tone_a2} \subsection{Member Data Documentation} \index{ost::AudioTone@{ost::Audio\-Tone}!fa1@{fa1}} \index{fa1@{fa1}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::fa1\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n4} \index{ost::AudioTone@{ost::Audio\-Tone}!fa2@{fa2}} \index{fa2@{fa2}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::fa2\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n5} \index{ost::AudioTone@{ost::Audio\-Tone}!p1@{p1}} \index{p1@{p1}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::p1\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n0} \index{ost::AudioTone@{ost::Audio\-Tone}!p2@{p2}} \index{p2@{p2}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::p2\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n1} \index{ost::AudioTone@{ost::Audio\-Tone}!v1@{v1}} \index{v1@{v1}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::v1\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n2} \index{ost::AudioTone@{ost::Audio\-Tone}!v2@{v2}} \index{v2@{v2}!ost::AudioTone@{ost::Audio\-Tone}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}double ost::Audio\-Tone::v2\hspace{0.3cm}{\tt [protected]}}\label{classost_1_1_audio_tone_n3} The documentation for this class was generated from the following file:\begin{CompactItemize} \item {\bf audio.h}\end{CompactItemize}