DaisySP
|
#include <crossfade.h>
Public Member Functions | |
void | Init (int curve) |
void | Init () |
float | Process (float &in1, float &in2) |
void | SetPos (float pos) |
void | SetCurve (uint8_t curve) |
float | GetPos (float pos) |
uint8_t | GetCurve (uint8_t curve) |
Performs a CrossFade between two signals
Original author: Paul Batchelor
Ported from Soundpipe by Andrew Ikenberry
added curve option for constant power, etc.
|
inline |
Returns current curve
|
inline |
Returns current position
|
inline |
Initialize with default linear curve
|
inline |
Initializes CrossFade module Defaults
float CrossFade::Process | ( | float & | in1, |
float & | in2 ) |
processes CrossFade and returns single sample
|
inline |
Sets current curve applied to CrossFade Expected input: See Curve Options
|
inline |
Sets position of CrossFade between two input signals Input range: 0 to 1