arduino-audio-tools
Public Member Functions | Protected Member Functions | List of all members
ExponentialVolumeControl Class Reference

Simple exponentional volume control using the formula pow(2.0, input) - 1.0;. More...

#include <VolumeControl.h>

Inheritance diagram for ExponentialVolumeControl:
VolumeControl

Public Member Functions

virtual float getVolumeFactor (float volume)
 determines a multiplication factor (0.0 to 1.0) from an input value (0.0 to 1.0).
 

Protected Member Functions

virtual float limit (float in)
 limits the output to the range of 0 to 1.0
 

Detailed Description

Simple exponentional volume control using the formula pow(2.0, input) - 1.0;.

Author
Phil Schatzmann

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