TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
engine::Ditherer Struct Reference

An extremely naive ditherer. More...

#include <tracktion_Ditherer.h>

Public Member Functions

void reset (int numBits) noexcept
 
void process (float *samps, int num) noexcept
 

Public Attributes

int random1 = 0
 
int random2 = 0
 
float amp = 0
 
float offset = 0
 
float s1 = 0
 
float s2 = 0
 

Detailed Description

An extremely naive ditherer.

TODO: this could be done much better!

Member Function Documentation

◆ reset()

void engine::Ditherer::reset ( int  numBits)
noexcept

◆ process()

void engine::Ditherer::process ( float *  samps,
int  num 
)
noexcept

Member Data Documentation

◆ random1

int engine::Ditherer::random1 = 0

◆ random2

int engine::Ditherer::random2 = 0

◆ amp

float engine::Ditherer::amp = 0

◆ offset

float engine::Ditherer::offset = 0

◆ s1

float engine::Ditherer::s1 = 0

◆ s2

float engine::Ditherer::s2 = 0

The documentation for this struct was generated from the following file: