25 class DtProceduralSound;
39 const std::map<std::string, std::string>& params)
override;
79 void update(
DtDe& de)
override;
91 float channelBaseVolumeDb)
const override;
96 void setLocalPrecipitationOverride(
bool raining,
float normalizedIntensity)
override;
99 void appendImGuiDebugInfo()
const override;
120 std::vector<std::unique_ptr<DtTierSlotBehavior>>
mySlots;
std::atomic< float > myNormalizedIntensity
Normalized precipitationIntensity() written by update(); read by slot behaviors on the audio thread...
Definition: DtRainSoundBehavior.h:104
std::atomic< bool > myLocalRaining
Local weather area raining flag, written by setLocalPrecipitationOverride().
Definition: DtRainSoundBehavior.h:113
Read-only context passed to every DtProceduralSoundBehavior callback.
Definition: DtProceduralSoundBehaviorContext.h:20
std::atomic< bool > myIsRaining
Set to true by update() when precipitation type is Rain and intensity > 0. Read by slot behaviors on ...
Definition: DtRainSoundBehavior.h:107
Abstract factory interface for creating a named DtProceduralSoundBehavior.
Definition: DtProceduralSoundBehaviorCreator.h:92
std::vector< std::unique_ptr< DtTierSlotBehavior > > mySlots
One slot per tier.
Definition: DtRainSoundBehavior.h:120
Composes multiple DtProceduralSoundLayer pools into one streaming ambient sound.
Definition: DtProceduralSound.h:61
DtRainSoundConfig myConfig
Tier configuration (sources and crossfade parameters) retained for setupSound().
Definition: DtRainSoundBehavior.h:121
std::atomic< bool > myHasLocalOverride
True when a local weather area override has been set via setLocalPrecipitationOverride(). Consumed (exchanged to false) at the start of update().
Definition: DtRainSoundBehavior.h:111
DtProceduralSoundBehaviorCreator implementation for the "Rain" behavior. Register under the key "Rain...
Definition: DtRainSoundBehavior.h:31
Contains makVrv::DtProceduralSoundBehaviorCreator abstract base class.
Contains makVrv::DtRainSoundTier and makVrv::DtRainSoundConfig.
std::atomic< float > myLocalNormIntensity
Local weather area normalized intensity, written by setLocalPrecipitationOverride().
Definition: DtRainSoundBehavior.h:115
Optional per-channel behavior hook for DtProceduralSoundPlayer.
Definition: DtProceduralSoundBehavior.h:40
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Full configuration for DtRainSoundBehavior.
Definition: DtRainSoundConfig.h:51
Contains makVrv::DtProceduralSoundBehavior base class.
Adapts rain audio to the current precipitation intensity using a configurable set of named tiers (e...
Definition: DtRainSoundBehavior.h:61
Contains makVrv::DtTierGainCurve and makVrv::DtTierSlotBehavior.