Full configuration for DtWindSoundBehavior.
| static DtWindSoundConfig makVrv::DtWindSoundConfig::fromParams |
( |
const std::map< std::string, std::string > & |
params | ) |
|
|
static |
Build a config from a key-value parameter map. Recognised keys: "crossfadeWidthMs", "onsetRampMs", "tierN.source", "tierN.peakFrom", "tierN.peakTo", "tierN.gain" (N=0,1,2,...). Falls back to "tierN.wav" for the source key (backwards compatibility). Any absent key falls back to the corresponding makeDefault() value.
- Parameters
-
| float makVrv::DtWindSoundConfig::crossfadeWidthMs = 3.0f |
Total crossfade zone width in m/s.
| float makVrv::DtWindSoundConfig::onsetRampMs = 1.0f |
Onset ramp width in m/s for the first tier (ramp from 0 to first threshold).
Ordered tiers, lowest speed first.
The documentation for this struct was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-3-branch/include/vrvAudio/DtWindSoundConfig.h