arduino-audio-tools
|
#include <AudioEffect.h>
Public Member Functions | |
Boost (const Boost ©)=default | |
Boost (float volume=1.0) | |
virtual bool | active () |
determines if the effect is active | |
Boost * | clone () |
int | id () |
Allows to identify an effect. | |
effect_t | process (effect_t input) |
calculates the effect output from the input | |
virtual void | setActive (bool value) |
sets the effect active/inactive | |
void | setId (int id) |
Allows to identify an effect. | |
virtual bool | setVolume (float volume) |
define the actual volume in the range of 0.0f to 1.0f | |
virtual float | volume () |
provides the actual volume in the range of 0.0f to 1.0f | |
Protected Member Functions | |
int16_t | clip (int32_t in, int16_t clipLimit=32767, int16_t resultLimit=32767) |
generic clipping method | |
void | copyParent (AudioEffect *copy) |
Protected Attributes | |
bool | active_flag = true |
int | id_value = -1 |
float | volume_value = 1.0f |
Boost Constructor: volume 0.1 - 1.0: decrease result; volume >0: increase result
|
inlinevirtual |
Implements AudioEffect.
|
inlinevirtual |
calculates the effect output from the input
Implements AudioEffect.
define the actual volume in the range of 0.0f to 1.0f
Reimplemented in Maximilian, I2SCodecStream, VS1053Stream, VolumeStream, A2DPStream, and AudioPlayer.
provides the actual volume in the range of 0.0f to 1.0f
Reimplemented in I2SCodecStream, VS1053Stream, AudioPlayer, and VolumeStream.