|
arduino-audio-tools
|
A simple Synthesizer which can generate sound having multiple keys pressed. The main purpose of this class is managing the synthezizer channels. More...
#include <Synthesizer.h>
Classes | |
| struct | KeyParameter |
Protected Member Functions | |
| int16_t | applyRamp (int16_t sample) |
| AbstractSynthesizerChannel * | getFreeChannel () |
| AbstractSynthesizerChannel * | getNoteChannel (int note) |
| size_t | readBytesFrames (uint8_t *buffer, size_t lengthBytes, int frames, int channels) |
| size_t | readBytesFromBuffer (uint8_t *buffer, size_t lengthBytes, int frame_size, int channels) |
| void | recalculatePlayTime () |
Static Protected Member Functions | |
| static void | callbackKeyOff (bool active, int pin, void *ref) |
| static void | callbackKeyOn (bool active, int pin, void *ref) |
A simple Synthesizer which can generate sound having multiple keys pressed. The main purpose of this class is managing the synthezizer channels.
|
inline |
|
inline |
|
delete |
|
inlinevirtual |
|
inlineprotectedinherited |
Reimplemented from SoundGenerator< int16_t >.
|
inlineprotected |
|
inlineprotected |
Checks if the begin method has been called - after end() isActive returns false
|
delete |
Provides the data as byte array with the requested number of channels.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineoverridevirtual |
Provides mixed samples of all channels.
Implements SoundGenerator< int16_t >.
|
inlineprotectedinherited |
Abstract method: not implemented! Just provides an error message...
|
inline |
Assigns pins to notes - the last SynthesizerKey is marked with an entry containing the note <= 0.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |