The Tooba
 All Data Structures Namespaces Files Functions Variables Macros Pages
Public Member Functions | Data Fields
Voice Class Reference

#include <voice.h>

Collaboration diagram for Voice:
Collaboration graph
[legend]

Public Member Functions

 Voice ()
 
void step (void)
 
void setfreq (float f)
 
void keydown (uint32_t down)
 
int32_t output (void)
 

Data Fields

Oscillator osc1
 
Oscillator osc2
 
Oscillator osc3
 
ADSR adsr
 

Detailed Description

Definition at line 132 of file voice.h.

Constructor & Destructor Documentation

Voice::Voice ( )
inline

Definition at line 137 of file voice.h.

Here is the call graph for this function:

Member Function Documentation

void Voice::keydown ( uint32_t  down)
inline

Definition at line 157 of file voice.h.

Referenced by Key::check().

Here is the call graph for this function:

Here is the caller graph for this function:

int32_t Voice::output ( void  )
inline

Definition at line 160 of file voice.h.

Here is the call graph for this function:

void Voice::setfreq ( float  f)
inline

Definition at line 152 of file voice.h.

Referenced by Key::check(), and main().

Here is the call graph for this function:

Here is the caller graph for this function:

void Voice::step ( void  )
inline

Definition at line 146 of file voice.h.

Here is the call graph for this function:

Field Documentation

ADSR Voice::adsr

Definition at line 135 of file voice.h.

Oscillator Voice::osc1

Definition at line 134 of file voice.h.

Oscillator Voice::osc2

Definition at line 134 of file voice.h.

Oscillator Voice::osc3

Definition at line 134 of file voice.h.


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