arduino-audio-tools
Public Member Functions | List of all members
AbstractSynthesizerChannel Class Referenceabstract

Defines the sound generation for one channel. A channel is used to process an indivudual key so that we can generate multiple notes at the same time. More...

#include <Synthesizer.h>

Inheritance diagram for AbstractSynthesizerChannel:
DefaultSynthesizerChannel

Public Member Functions

virtual void begin (AudioInfo config)
 Start the sound generation.
 
virtual AbstractSynthesizerChannelclone ()=0
 
virtual bool isActive ()=0
 Checks if the ADSR is still active - and generating sound.
 
virtual void keyOff ()=0
 Provides the key off event to ADSR to stop the sound.
 
virtual void keyOn (int nte, float tgt)=0
 Provides the key on event to ADSR to start the sound.
 
virtual int note ()=0
 Provides the actual midi note that is played.
 
virtual int16_t readSample ()=0
 Provides the next sample.
 

Detailed Description

Defines the sound generation for one channel. A channel is used to process an indivudual key so that we can generate multiple notes at the same time.

Author
Phil Schatzmann

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