TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::ValueSmoother< T > Class Template Reference

Smooths a value between 0 and 1 at a constant rate. More...

#include <tracktion_FourOscPlugin.h>

Public Member Functions

void reset (double sr, double time)
 
getCurrentValue ()
 
void setValue (T v)
 
void snapToValue ()
 
void process (int n)
 
getNextValue ()
 
void setValueUnsmoothed (T v)
 

Detailed Description

template<class T>
class engine::ValueSmoother< T >

Smooths a value between 0 and 1 at a constant rate.

Member Function Documentation

◆ reset()

template<class T >
void engine::ValueSmoother< T >::reset ( double  sr,
double  time 
)

◆ getCurrentValue()

template<class T >
T engine::ValueSmoother< T >::getCurrentValue ( )

◆ setValue()

template<class T >
void engine::ValueSmoother< T >::setValue ( v)

◆ snapToValue()

template<class T >
void engine::ValueSmoother< T >::snapToValue ( )

◆ process()

template<class T >
void engine::ValueSmoother< T >::process ( int  n)

◆ getNextValue()

template<class T >
T engine::ValueSmoother< T >::getNextValue ( )

◆ setValueUnsmoothed()

template<class T >
void engine::ValueSmoother< T >::setValueUnsmoothed ( v)

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