LMMS
Loading...
Searching...
No Matches
modules_delay.cpp File Reference
#include <limits.h>
#include <memory.h>
#include <math.h>
#include <calf/giface.h>
#include <calf/modules_delay.h>
#include <calf/modules_dev.h>
#include <sys/time.h>

Macros

#define SET_IF_CONNECTED(name)

Functions

static void delayline_impl (int age, int deltime, float dry_value, const float &delayed_value, float &out, float &del, gain_smoothing &amt, gain_smoothing &fb)
 Single delay line with feedback at the same tap.
static void delayline2_impl (int age, int deltime, float dry_value, const float &delayed_value, const float &delayed_value_for_fb, float &out, float &del, gain_smoothing &amt, gain_smoothing &fb)
 Single delay line with tap output.
static void delay_mix (float dry_left, float dry_right, float &out_left, float &out_right, float dry, float chmix)
static float reverse_delay_line_impl (float in, float *buf, int *counter, int length)

Macro Definition Documentation

◆ SET_IF_CONNECTED

#define SET_IF_CONNECTED ( name)
Value:
if (params[AM::param_##name] != NULL) *params[AM::param_##name] = name;
#define NULL
Definition CarlaBridgeFormat.cpp:30
static const char * name
Definition pugl.h:1582

Function Documentation

◆ delay_mix()

void delay_mix ( float dry_left,
float dry_right,
float & out_left,
float & out_right,
float dry,
float chmix )
inlinestatic

◆ delayline2_impl()

void delayline2_impl ( int age,
int deltime,
float dry_value,
const float & delayed_value,
const float & delayed_value_for_fb,
float & out,
float & del,
gain_smoothing & amt,
gain_smoothing & fb )
inlinestatic

Single delay line with tap output.

◆ delayline_impl()

void delayline_impl ( int age,
int deltime,
float dry_value,
const float & delayed_value,
float & out,
float & del,
gain_smoothing & amt,
gain_smoothing & fb )
inlinestatic

Single delay line with feedback at the same tap.

◆ reverse_delay_line_impl()

float reverse_delay_line_impl ( float in,
float * buf,
int * counter,
int length )
static