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

#include <voice.h>

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

Public Member Functions

 NoisyVoice ()
 
void step (void)
 
bool idle (void)
 
void setfreq (float f)
 
void quiet (void)
 
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
 
Oscillator osc3
 
ADSR adsr
 
ADSR adsr2
 
Filter filt
 
uint32_t _f
 

Detailed Description

Definition at line 97 of file voice.h.

Constructor & Destructor Documentation

NoisyVoice::NoisyVoice ( )
inline

Definition at line 104 of file voice.h.

Here is the call graph for this function:

Member Function Documentation

bool NoisyVoice::idle ( void  )
inlinevirtual

Implements IVoice.

Definition at line 128 of file voice.h.

Here is the call graph for this function:

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

Implements IVoice.

Definition at line 155 of file voice.h.

void NoisyVoice::keydown ( void  )
inlinevirtual

Implements IVoice.

Definition at line 141 of file voice.h.

Here is the call graph for this function:

void NoisyVoice::keyup ( void  )
inlinevirtual

Implements IVoice.

Definition at line 145 of file voice.h.

Here is the call graph for this function:

int32_t NoisyVoice::output ( void  )
inlinevirtual

Implements IVoice.

Definition at line 149 of file voice.h.

Here is the call graph for this function:

void NoisyVoice::quiet ( void  )
inlinevirtual

Implements IVoice.

Definition at line 137 of file voice.h.

Here is the call graph for this function:

void NoisyVoice::setfreq ( float  f)
inlinevirtual

Implements IVoice.

Definition at line 131 of file voice.h.

Here is the call graph for this function:

void NoisyVoice::step ( void  )
inlinevirtual

Implements IVoice.

Definition at line 118 of file voice.h.

Here is the call graph for this function:

Field Documentation

uint32_t NoisyVoice::_f

Definition at line 102 of file voice.h.

Referenced by setfreq(), and step().

ADSR NoisyVoice::adsr

Definition at line 100 of file voice.h.

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

ADSR NoisyVoice::adsr2

Definition at line 100 of file voice.h.

Referenced by keydown(), keyup(), NoisyVoice(), quiet(), and step().

Filter NoisyVoice::filt

Definition at line 101 of file voice.h.

Referenced by NoisyVoice(), output(), and step().

Oscillator NoisyVoice::osc1

Definition at line 99 of file voice.h.

Referenced by NoisyVoice(), setfreq(), and step().

Oscillator NoisyVoice::osc2

Definition at line 99 of file voice.h.

Referenced by NoisyVoice(), setfreq(), and step().

Oscillator NoisyVoice::osc3

Definition at line 99 of file voice.h.

Referenced by NoisyVoice(), setfreq(), and step().


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