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

#include <voice.h>

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

Public Member Functions

 TwoSquaresVoice ()
 
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
 
Oscillator osc2
 
ADSR adsr
 
ADSR adsr2
 

Detailed Description

Definition at line 46 of file voice.h.

Constructor & Destructor Documentation

TwoSquaresVoice::TwoSquaresVoice ( )
inline

Definition at line 51 of file voice.h.

Here is the call graph for this function:

Member Function Documentation

bool TwoSquaresVoice::idle ( void  )
inlinevirtual

Implements IVoice.

Definition at line 73 of file voice.h.

Here is the call graph for this function:

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

Implements IVoice.

Definition at line 92 of file voice.h.

void TwoSquaresVoice::keydown ( void  )
inlinevirtual

Implements IVoice.

Definition at line 80 of file voice.h.

Here is the call graph for this function:

void TwoSquaresVoice::keyup ( void  )
inlinevirtual

Implements IVoice.

Definition at line 84 of file voice.h.

Here is the call graph for this function:

int32_t TwoSquaresVoice::output ( void  )
inlinevirtual

Implements IVoice.

Definition at line 88 of file voice.h.

Here is the call graph for this function:

void TwoSquaresVoice::quiet ( void  )
inlinevirtual

Implements IVoice.

Definition at line 69 of file voice.h.

Here is the call graph for this function:

void TwoSquaresVoice::setfreq ( float  f)
inlinevirtual

Implements IVoice.

Definition at line 76 of file voice.h.

Here is the call graph for this function:

void TwoSquaresVoice::step ( void  )
inlinevirtual

Implements IVoice.

Definition at line 63 of file voice.h.

Here is the call graph for this function:

Field Documentation

ADSR TwoSquaresVoice::adsr

Definition at line 49 of file voice.h.

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

ADSR TwoSquaresVoice::adsr2

Definition at line 49 of file voice.h.

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

Oscillator TwoSquaresVoice::osc1

Definition at line 48 of file voice.h.

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

Oscillator TwoSquaresVoice::osc2

Definition at line 48 of file voice.h.

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


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