|
Player12
An open source football management simulator
|
#include <synth.h>
Public Attributes | |
| Sound | sound = Sound::KICK |
| float | gain = 1.0f |
| float | pan = 0.0f |
| float | intensity = 0.5f |
| std::uint8_t | variant = 0 |
| float | delay = 0.0f |
A request to play a sound; plain data, copied to the audio thread.
| float Audio::SoundCommand::delay = 0.0f |
Seconds to wait before the sound starts.
| float Audio::SoundCommand::gain = 1.0f |
Linear gain before the bus gains.
| float Audio::SoundCommand::intensity = 0.5f |
0..1: strength (kick power, reaction size); shapes timbre and length.
| float Audio::SoundCommand::pan = 0.0f |
-1 left .. +1 right.
| Sound Audio::SoundCommand::sound = Sound::KICK |
| std::uint8_t Audio::SoundCommand::variant = 0 |
Sound-specific variant (WhistlePattern for the whistle).