tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::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
 
int random2
 
float amp
 
float offset
 
float s1
 
float s2
 

Detailed Description

An extremely naive ditherer.

TODO: this could be done much better!

Definition at line 18 of file tracktion_Ditherer.h.

Member Function Documentation

◆ process()

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

Definition at line 29 of file tracktion_Ditherer.h.

◆ reset()

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

Definition at line 20 of file tracktion_Ditherer.h.

Member Data Documentation

◆ amp

float tracktion::engine::Ditherer::amp

Definition at line 60 of file tracktion_Ditherer.h.

◆ offset

float tracktion::engine::Ditherer::offset

Definition at line 60 of file tracktion_Ditherer.h.

◆ random1

int tracktion::engine::Ditherer::random1

Definition at line 59 of file tracktion_Ditherer.h.

◆ random2

int tracktion::engine::Ditherer::random2

Definition at line 59 of file tracktion_Ditherer.h.

◆ s1

float tracktion::engine::Ditherer::s1

Definition at line 61 of file tracktion_Ditherer.h.

◆ s2

float tracktion::engine::Ditherer::s2

Definition at line 61 of file tracktion_Ditherer.h.


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