All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Static Public Member Functions | List of all members
Interpolator Class Reference

Static Public Member Functions

static float interpolateLinear (const float lowValue, const float highValue, const float delta)
 

Detailed Description

A utility class for linear interpolation between samples.

Member Function Documentation

float interpolateLinear ( const float  lowValue,
const float  highValue,
const float  delta 
)
static

A simple linear interpolation.

Parameters
lowValuethe value of the lower index.
highValuethe value of the higher index.
deltathe sub-integer part between the two indexes (must be between 0.0f and 1.0f)
Returns
the interpolated value.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.