Class daisysp::Port¶
#include <port.h>
Public Functions¶
Type | Name |
---|---|
float | GetHtime () |
void | Init (float sample_rate, float htime) |
Port () |
|
float | Process (float in) |
void | SetHtime (float htime) |
~Port () |
Detailed Description¶
Applies portamento to an input signal.
At each new step value, the input is low-pass filtered to move towards that value at a rate determined by ihtim. ihtim is the half-time of the function (in seconds), during which the curve will traverse half the distance towards the new value, then half as much again, etc., theoretically never reaching its asymptote.
Public Functions Documentation¶
function GetHtime¶
returns current value of htime
function Init¶
Initializes Port module
Parameters:
sample_rate
sample rate of audio enginehtime
half-time of the function, in seconds.
function Port¶
function Process¶
Applies portamento to input signal and returns processed signal.
Returns:
slewed output signal
function SetHtime¶
Sets htime
function ~Port¶
The documentation for this class was generated from the following file external-docs/DaisySP/DaisySP-LGPL/Source/Utility/port.h