Go to the source code of this file.
|
enum | { NOISE_CLASS_AWGN = 1
, NOISE_CLASS_HOTH
} |
|
◆ noise_state_t
Noise generator descriptor. This contains all the state information for an instance of the noise generator.
◆ noise()
Generate a sample of audio noise.
Generate a sample of audio noise.
- Parameters
-
s | The noise generator context. |
- Returns
- The generated sample.
◆ noise_init_dbm0()
Initialise an audio noise generator.
Initialise an audio noise generator.
- Parameters
-
s | The noise generator context. |
seed | A seed for the underlying random number generator. |
level | The noise power level in dBmO. |
class_of_noise | The class of noise (e.g. AWGN). |
quality | A parameter which permits speed and accuracy of the noise generation to be adjusted. |
- Returns
- A pointer to the noise generator context.