Synth.cpp
 All Data Structures Namespaces Files Functions Variables Macros
Public Member Functions
IVoice Class Referenceabstract

#include <synth.h>

Inheritance diagram for IVoice:
Inheritance graph
[legend]

Public Member Functions

virtual ~IVoice ()
 
virtual void quiet (void)=0
 
virtual void step (void)=0
 
virtual void setfreq (float f)=0
 
virtual void keydown (void)=0
 
virtual void keyup (void)=0
 
virtual int32_t output (void)=0
 
virtual bool idle (void)=0
 
virtual void ioctl (uint32_t, uint32_t)=0
 

Detailed Description

Definition at line 45 of file synth.h.

Constructor & Destructor Documentation

virtual IVoice::~IVoice ( )
inlinevirtual

Definition at line 47 of file synth.h.

Member Function Documentation

virtual bool IVoice::idle ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::keydown().

Here is the caller graph for this function:

virtual void IVoice::ioctl ( uint32_t  ,
uint32_t   
)
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::ioctl().

Here is the caller graph for this function:

virtual void IVoice::keydown ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::keydown().

Here is the caller graph for this function:

virtual void IVoice::keyup ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::keyup().

Here is the caller graph for this function:

virtual int32_t IVoice::output ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::get_12_bit_value().

Here is the caller graph for this function:

virtual void IVoice::quiet ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

virtual void IVoice::setfreq ( float  f)
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::keydown().

Here is the caller graph for this function:

virtual void IVoice::step ( void  )
pure virtual

Implemented in NoisyVoice, TwoSquaresVoice, and SimpleVoice.

Referenced by Synth::compute_sample().

Here is the caller graph for this function:


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