- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Exponent::Music::CMusicMath::CFrequencyTable Class Reference

List of all members.

## Detailed Description

A class to calculate the midi/frequency table.

Definition at line 255 of file CMusicMath.hpp.

## Public Member Functions

- CFrequencyTable ()
- double getFrequency (const long index) const
- CFrequencyTable & operator= (const CFrequencyTable &table)

## Protected Attributes

- double m_frequencyTable [128]

## Constructor & Destructor Documentation

Exponent::Music::CMusicMath::CFrequencyTable::CFrequencyTable | ( |  | ) | `[inline]`

Construction

Definition at line 262 of file CMusicMath.hpp.

References m_frequencyTable.

## Member Function Documentation

double Exponent::Music::CMusicMath::CFrequencyTable::getFrequency | ( | const long | index | ) | const`[inline]`

Get an element of the frequency table

Parameters:

  | index | The index to get

Return values:

  | double | The frequency or 0.0 if index out of range

Definition at line 307 of file CMusicMath.hpp.

References m_frequencyTable.

CFrequencyTable& Exponent::Music::CMusicMath::CFrequencyTable::operator= | ( | const CFrequencyTable & | table | ) | `[inline]`

Assignment operator

Parameters:

  | table | The table to copy

Return values:

  | CFrequencyTable& | A reference to this

Definition at line 292 of file CMusicMath.hpp.

References m_frequencyTable.

## Member Data Documentation

double Exponent::Music::CMusicMath::CFrequencyTable::m_frequencyTable[128]`[protected]`

The frequency information

Definition at line 322 of file CMusicMath.hpp.

Referenced by CFrequencyTable(), getFrequency(), and operator=().