Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::DSP::Generator Class Reference

#include <dsp_filter.h>

Public Types

enum  Type { UniformWhiteNoise , GaussianWhiteNoise , PinkNoise }
 

Public Member Functions

 Generator ()
 
void run (float *data, const uint32_t n_samples)
 
void set_type (Type t)
 

Private Member Functions

uint32_t randi ()
 
float randf ()
 
float grandf ()
 

Private Attributes

Type _type
 
uint32_t _rseed
 
float _b0
 
float _b1
 
float _b2
 
float _b3
 
float _b4
 
float _b5
 
float _b6
 
bool _pass
 
float _rn
 

Detailed Description

Definition at line 333 of file dsp_filter.h.

Member Enumeration Documentation

◆ Type

Enumerator
UniformWhiteNoise 
GaussianWhiteNoise 
PinkNoise 

Definition at line 337 of file dsp_filter.h.

Constructor & Destructor Documentation

◆ Generator()

ARDOUR::DSP::Generator::Generator ( )

Member Function Documentation

◆ grandf()

float ARDOUR::DSP::Generator::grandf ( )
private

◆ randf()

float ARDOUR::DSP::Generator::randf ( )
inlineprivate

Definition at line 348 of file dsp_filter.h.

◆ randi()

uint32_t ARDOUR::DSP::Generator::randi ( )
private

◆ run()

void ARDOUR::DSP::Generator::run ( float *  data,
const uint32_t  n_samples 
)

◆ set_type()

void ARDOUR::DSP::Generator::set_type ( Type  t)

Member Data Documentation

◆ _b0

float ARDOUR::DSP::Generator::_b0
private

Definition at line 354 of file dsp_filter.h.

◆ _b1

float ARDOUR::DSP::Generator::_b1
private

Definition at line 354 of file dsp_filter.h.

◆ _b2

float ARDOUR::DSP::Generator::_b2
private

Definition at line 354 of file dsp_filter.h.

◆ _b3

float ARDOUR::DSP::Generator::_b3
private

Definition at line 354 of file dsp_filter.h.

◆ _b4

float ARDOUR::DSP::Generator::_b4
private

Definition at line 354 of file dsp_filter.h.

◆ _b5

float ARDOUR::DSP::Generator::_b5
private

Definition at line 354 of file dsp_filter.h.

◆ _b6

float ARDOUR::DSP::Generator::_b6
private

Definition at line 354 of file dsp_filter.h.

◆ _pass

bool ARDOUR::DSP::Generator::_pass
private

Definition at line 356 of file dsp_filter.h.

◆ _rn

float ARDOUR::DSP::Generator::_rn
private

Definition at line 357 of file dsp_filter.h.

◆ _rseed

uint32_t ARDOUR::DSP::Generator::_rseed
private

Definition at line 352 of file dsp_filter.h.

◆ _type

Type ARDOUR::DSP::Generator::_type
private

Definition at line 351 of file dsp_filter.h.


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