|
Player12
An open source football management simulator
|
#include <synth.h>
Classes | |
| struct | Channel |
Public Member Functions | |
| CrowdBed () | |
| void | setTargets (float intensity, float level) |
| void | render (float *out, int frames, float busGain) |
Private Member Functions | |
| void | updateControl () |
Private Attributes | |
| Channel | left {0xC0FFEEU} |
| Channel | right {0xBADA55U} |
| float | intensity = 0.3f |
| float | intensityTarget = 0.3f |
| float | level = 0.0f |
| float | levelTarget = 1.0f |
| int | controlCounter = 0 |
The continuous stadium ambience: layered filtered noise (rumble, voices, air) with slow independent swells per channel. intensity (0..1) raises level and brightness; level is the overall gain (fades on pause).
|
default |
| void Audio::CrowdBed::render | ( | float * | out, |
| int | frames, | ||
| float | busGain | ||
| ) |
Adds stereo output to out, already scaled by busGain.
| void Audio::CrowdBed::setTargets | ( | float | intensity, |
| float | level | ||
| ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |