|
SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
Functions | |
| Float | linear (Float partial, Float x0, Float x1) |
| Interpolate a value from two values. More... | |
| static Float | cubic4thOrder (Float partial, Float x0, Float x1, Float x2, Float x3) |
| Interpolate a value from four values. More... | |
|
inlinestatic |
Interpolate a value from four values.
| partial | location between the second value and the third. By definition it should always be < 1.0 |
| x0 | first value to use |
| x1 | second value to use |
| x2 | third value to use |
| x3 | fourth value to use |
References SF2::DSP::Tables::Cubic4thOrder::interpolate().
Interpolate a value from two values.
| partial | indication of affinity for one of the two values. Low values give greater weight to x0 while higher values give greater weight to x1. |
| x0 | first value to use |
| x1 | second value to use |