DaisySP
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisysp::Limiter Class Reference

#include <limiter.h>

Public Member Functions

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

Detailed Description

Simple Peak Limiter

This was extracted from pichenettes/stmlib.

Credit to pichenettes/Mutable Instruments

Member Function Documentation

◆ Init()

void daisysp::Limiter::Init ( )

Initializes the Limiter instance.

◆ ProcessBlock()

void daisysp::Limiter::ProcessBlock ( float * in,
size_t size,
float pre_gain )

Processes a block of audio through the limiter.

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.

The documentation for this class was generated from the following files: