1#ifndef NANOMMO_CLIENT_SOUNDSCAPE_H_
2#define NANOMMO_CLIENT_SOUNDSCAPE_H_
27constexpr float kFar = 40.0f;
32Heard Hear(Vector3 source, Vector3 ears, Vector3 right);
48 Variety(uint32_t seed,
float pitch_spread,
float volume_spread);
70std::array<float, 2>
Footfalls(
const ModelAnimation& clip,
int left,
int right);
78 std::vector<uint64_t>
Update(
const std::map<uint64_t, Gait>& gaits);
81 std::map<uint64_t, float> loops_;
88 std::vector<Figure>
Update(
const std::vector<Figure>& figures);
92 std::map<uint32_t, std::pair<uint32_t, float>> skills_;
102 Cue Update(
bool covering,
bool in_world);
105 bool covering_ =
false;
106 bool in_world_ =
false;
std::vector< Figure > Update(const std::vector< Figure > &figures)
Cue Update(bool covering, bool in_world)
Variety(uint32_t seed, float pitch_spread, float volume_spread)
Take Next(int takes)
One of that many takes.
constexpr float kNear
In metres: full volume this near, and nothing past far.
constexpr float kArrival
Past the edge of a gate, so that players don't arrive inside it.
std::array< float, 2 > Footfalls(const ModelAnimation &clip, int left, int right)
Heard Hear(Vector3 source, Vector3 ears, Vector3 right)
std::array< float, 2 > footfalls
float pitch
Where 1 is as it was made, and 2 an octave up.