|
Player12
An open source football management simulator
|
#include <synth.h>
Public Member Functions | |
| Drift (std::uint32_t seed, float ratePerSecond) | |
| float | step (float seconds) |
| float | value () const |
Private Attributes | |
| Noise | noise |
| float | rate |
| float | current = 0.5f |
| float | target = 0.5f |
Slow bounded random walk in [0, 1] used for swells and murmurs.
|
inlineexplicit |
| float Audio::Drift::step | ( | float | seconds | ) |
Advances by seconds (call at control rate).
|
inline |
|
private |
|
private |
|
private |
|
private |