#include <noisegenerator.h>
Inherits NoiseGenerator.
Inheritance diagram for SineWhiteNoise:


Public Member Functions | |
| SineWhiteNoise (double omega, double amplitude, double phaseShift=M_PI/2, unsigned int channels=0xFFFF) | |
| virtual | ~SineWhiteNoise () |
| virtual double | generate (double min, double max) |
| generate somehow distributed random number parameterized with min and max. | |
| virtual void | add (double *value, double min, double max) |
| adds multidimensional noise to the value field. | |
| void | setOmega (double omega) |
| void | setPhaseShift (double phaseShift) |
Protected Attributes | |
| long int | t |
| double | omega |
| double | amplitude |
| unsigned int | channels |
| double | phaseShift |
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
adds multidimensional noise to the value field.
Reimplemented from NoiseGenerator.
|
|
||||||||||||
|
generate somehow distributed random number parameterized with min and max. valid only for ONE random number, use add() for adding this kind of noise to several channels Implements NoiseGenerator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8