Synth.cpp
 All Data Structures Namespaces Files Functions Variables Macros
Public Member Functions | Data Fields
SimpleVoice Class Reference

#include <voice.h>

Inheritance diagram for SimpleVoice:
Inheritance graph
[legend]
Collaboration diagram for SimpleVoice:
Collaboration graph
[legend]

Public Member Functions

 SimpleVoice ()
 
void step (void)
 
void quiet (void)
 
bool idle (void)
 
void setfreq (float f)
 
void keydown (void)
 
void keyup (void)
 
int32_t output (void)
 
void ioctl (uint32_t param, uint32_t value)
 
- Public Member Functions inherited from IVoice
virtual ~IVoice ()
 

Data Fields

Oscillator osc1
 
ADSR adsr
 

Detailed Description

Definition at line 7 of file voice.h.

Constructor & Destructor Documentation

SimpleVoice::SimpleVoice ( )
inline

Definition at line 12 of file voice.h.

Here is the call graph for this function:

Member Function Documentation

bool SimpleVoice::idle ( void  )
inlinevirtual

Implements IVoice.

Definition at line 26 of file voice.h.

Here is the call graph for this function:

void SimpleVoice::ioctl ( uint32_t  param,
uint32_t  value 
)
inlinevirtual

Implements IVoice.

Definition at line 41 of file voice.h.

void SimpleVoice::keydown ( void  )
inlinevirtual

Implements IVoice.

Definition at line 32 of file voice.h.

Here is the call graph for this function:

void SimpleVoice::keyup ( void  )
inlinevirtual

Implements IVoice.

Definition at line 35 of file voice.h.

Here is the call graph for this function:

int32_t SimpleVoice::output ( void  )
inlinevirtual

Implements IVoice.

Definition at line 38 of file voice.h.

Here is the call graph for this function:

void SimpleVoice::quiet ( void  )
inlinevirtual

Implements IVoice.

Definition at line 23 of file voice.h.

Here is the call graph for this function:

void SimpleVoice::setfreq ( float  f)
inlinevirtual

Implements IVoice.

Definition at line 29 of file voice.h.

Here is the call graph for this function:

void SimpleVoice::step ( void  )
inlinevirtual

Implements IVoice.

Definition at line 19 of file voice.h.

Here is the call graph for this function:

Field Documentation

ADSR SimpleVoice::adsr

Definition at line 10 of file voice.h.

Referenced by idle(), keydown(), keyup(), output(), quiet(), SimpleVoice(), and step().

Oscillator SimpleVoice::osc1

Definition at line 9 of file voice.h.

Referenced by output(), setfreq(), SimpleVoice(), and step().


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