Skip to content

daisysp::Limiter

More...

#include <limiter.h>

Public Functions

Name
Limiter()
~Limiter()
void Init()
void ProcessBlock(float * in, size_t size, float pre_gain)

Detailed Description

class daisysp::Limiter;

Simple Peak Limiter

This was extracted from pichenettes/stmlib.

Credit to pichenettes/Mutable Instruments

Public Functions Documentation

function Limiter

inline Limiter()

function ~Limiter

inline ~Limiter()

function Init

void Init()

Initializes the Limiter instance.


function ProcessBlock

void ProcessBlock(
    float * in,
    size_t size,
    float pre_gain
)

Parameters:

  • in - pointer to a block of audio samples to be processed. The buffer is operated on directly.
  • size - size of the buffer "in"
  • pre_gain - amount of pre_gain applied to the signal.

Processes a block of audio through the limiter.

---

Updated on 2024-01-03 at 19:38:46 +0000