libpsynth 0.2.1
Public Types | Public Member Functions | Friends
psynth::filter_values Class Reference

#include <filter.hpp>

List of all members.

Public Types

enum  type {
  LOWPASS, HIPASS, BANDPASS_CSG, BANDPASS_CZPG,
  NOTCH, MOOG
}

Public Member Functions

 filter_values (type type=LOWPASS, float freq=220.0f, float res=0.1f, float srate=44100.0f)
void calculate (type type, float freq, float res, float srate)
void calculate (float freq)
void calculate ()
type get_type ()
float get_frequency ()
float get_resonance ()

Friends

class filter

Member Enumeration Documentation

Enumerator:
LOWPASS 
HIPASS 
BANDPASS_CSG 
BANDPASS_CZPG 
NOTCH 
MOOG 

Constructor & Destructor Documentation

psynth::filter_values::filter_values ( type  type = LOWPASS,
float  freq = 220.0f,
float  res = 0.1f,
float  srate = 44100.0f 
) [inline]

Member Function Documentation

void psynth::filter_values::calculate ( type  type,
float  freq,
float  res,
float  srate 
)
void psynth::filter_values::calculate ( float  freq)
void psynth::filter_values::calculate ( )
float psynth::filter_values::get_frequency ( ) [inline]
float psynth::filter_values::get_resonance ( ) [inline]
type psynth::filter_values::get_type ( ) [inline]

Friends And Related Function Documentation

friend class filter [friend]

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