Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::DSP Namespace Reference

Classes

class  Convolution
 
class  Convolver
 
class  DspShm
 
class  LowPass
 
class  Biquad
 
class  FFTSpectrum
 
class  Generator
 

Functions

void memset (float *data, const float val, const uint32_t n_samples)
 
void mmult (float *data, float *mult, const uint32_t n_samples)
 
void peaks (const float *data, float &min, float &max, uint32_t n_samples)
 
float log_meter (float power)
 
float log_meter_coeff (float coeff)
 
void process_map (BufferSet *bufs, const ChanCount &n_out, const ChanMapping &in_map, const ChanMapping &out_map, pframes_t nframes, samplecnt_t offset)
 

Function Documentation

◆ log_meter()

float ARDOUR::DSP::log_meter ( float  power)

non-linear power-scale meter deflection

Parameters
powersignal power (dB)
Returns
deflected value

◆ log_meter_coeff()

float ARDOUR::DSP::log_meter_coeff ( float  coeff)

non-linear power-scale meter deflection

Parameters
coeffsignal value
Returns
deflected value

◆ memset()

void ARDOUR::DSP::memset ( float *  data,
const float  val,
const uint32_t  n_samples 
)

lua wrapper to memset()

◆ mmult()

void ARDOUR::DSP::mmult ( float *  data,
float *  mult,
const uint32_t  n_samples 
)

matrix multiply multiply every sample of ‘data’ with the corresponding sample at ‘mult’.

Parameters
datamultiplicand
multmultiplicand
n_samplesnumber of samples in data and mmult

◆ peaks()

void ARDOUR::DSP::peaks ( const float *  data,
float &  min,
float &  max,
uint32_t  n_samples 
)

calculate peaks

Parameters
datadata to analyze
minresult, minimum value found in range
maxresult, max value found in range
n_samplesnumber of samples to analyze

◆ process_map()

void ARDOUR::DSP::process_map ( BufferSet bufs,
const ChanCount n_out,
const ChanMapping in_map,
const ChanMapping out_map,
pframes_t  nframes,
samplecnt_t  offset 
)