csl::SHARCSpectrum Class Reference

#include <SHARC.h>

List of all members.

Public Member Functions

 SHARCSpectrum (char *folder, char *name, unsigned m_key, float n_pitch, float a_pitch, unsigned m_amp, unsigned n_partials)
 ~SHARCSpectrum ()
bool read_from_file (char *folder, char *name)
unsigned count_partials ()
void dump_example ()

Public Attributes

char * _note_name
unsigned _midi_key
float _nom_pitch
float _actual_pitch
unsigned _max_amp
unsigned _num_partials
Partial ** _partials

Detailed Description

SHARC spectrum class

Constructor & Destructor Documentation

SHARCSpectrum::SHARCSpectrum ( char *  folder,
char *  name,
unsigned  m_key,
float  n_pitch,
float  a_pitch,
unsigned  m_amp,
unsigned  n_partials 

SHARCSpectrum::~SHARCSpectrum (  ) 

References _note_name, and _partials.

Member Function Documentation

bool csl::SHARCSpectrum::read_from_file ( char *  folder,
char *  name 

Referenced by SHARCSpectrum().

unsigned SHARCSpectrum::count_partials (  ) 

void SHARCSpectrum::dump_example (  ) 

Member Data Documentation

Referenced by count_partials(), and dump_example().

The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8