arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
audio_tools::ScaledParameter Class Reference

Scales a dynamic parameter to the indicated range. More...

#include <AudioParameters.h>

Inheritance diagram for audio_tools::ScaledParameter:
audio_tools::AbstractParameter

Public Member Functions

 ScaledParameter (AbstractParameter *parameter, float min, float max)
 
float update ()
 
- Public Member Functions inherited from audio_tools::AbstractParameter
virtual void keyOff ()
 
virtual void keyOn (float tgt=0)
 
virtual float tick ()
 
virtual float value ()
 

Protected Attributes

float max =0
 
float min =0
 
AbstractParameterp_parameter
 
- Protected Attributes inherited from audio_tools::AbstractParameter
float act_value = 0
 

Additional Inherited Members

virtual float update ()=0
 

Detailed Description

Scales a dynamic parameter to the indicated range.

Member Function Documentation

◆ update()

float audio_tools::ScaledParameter::update ( )
inlinevirtual

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