arduino-audio-tools
|
Volume Calculations. More...
Classes | |
class | CachedVolumeControl |
In order to optimize the processing time we cache the last input & factor and recalculate the new factor only if the input has changed. More... | |
class | CallbackVolumeControl |
Provide the volume function as callback method: This is easy to use e.g together with a lamda function! More... | |
class | ExponentialVolumeControl |
Simple exponentional volume control using the formula pow(2.0, input) - 1.0;. More... | |
class | LinearVolumeControl |
The simplest possible implementation of a VolumeControl: The input = output which describes a linear curve. You would use this implementation if you physically connect an audio pot! More... | |
class | LogarithmicVolumeControl |
Parametric Logarithmic volume control. Using the formula pow(b,input) * a - a, where b is b = pow(((1/ym)-1), 2) and a is a = 1.0 / (b - 1.0). The parameter ym is determining the steepness. See https://electronics.stackexchange.com/questions/304692/formula-for-logarithmic-audio-taper-pot. More... | |
class | SimulatedAudioPot |
Simple simulated audio pot volume control inspired by https://eepower.com/resistor-guide/resistor-types/potentiometer-taper/# We split up the input/output curve into 2 linear pieces with a slow and a fast raising part. The slow raising part goes from (0,0) to (x,y). The fast raising part goes from (x,y) to (1,1). More... | |
class | VolumeControl |
Abstract class for handling of the linear input volume to determine the multiplication factor which should be applied to the audio signal. More... | |
class | VolumeMeter |
A simple class to determine the volume. You can use it as final output or as output or input in your audio chain. More... | |
class | VolumeStream |
Adjust the volume of the related input or output: To work properly the class needs to know the bits per sample and number of channels! AudioChanges are forwareded to the related Print or Stream class. More... | |
class | VolumeSupport |
Supports the setting and getting of the volume. More... | |
Volume Calculations.