52 "$(SHARED_DATA_DIR)/Audio/soundscapes/Ambient/RuralFarmlandCowsBirds.wav"),
Abstract factory interface for creating a named DtProceduralSound.
Definition: DtProceduralSoundCreator.h:53
DtProceduralSound * create(DtDe &de, DtUniqueID id) override
Construct the "Forest" procedural sound.
Definition: DtForestSoundCreator.h:45
virtual void setGainRange(float minGain, float maxGain)
Linear gain range for randomly triggered events [0.0, 1.0]. Quieter events simulate sources further f...
virtual void setPitchRange(float minPitch, float maxPitch)
Pitch ratio range for randomly triggered events. 1.0 = original pitch. e.g. [0.92, 1.08] for natural variation. Pitch is implemented as a fractional sample-rate ratio (nearest-neighbor resampling); no FFT or high-quality resampler is used.
virtual void setFixedParallelEvents(int count)
Set the exact number of clip instances that must be playing at all times. After each PCM chunk is adv...
Contains makVrv::DtDe class.
Default procedural sound creator for the "Forest" key.
Definition: DtForestSoundCreator.h:37
Composes multiple DtProceduralSoundLayer pools into one streaming ambient sound.
Definition: DtProceduralSound.h:61
Contains vrvUtil::DtDePathConfiguration class.
Contains makVrv::DtProceduralSound class.
virtual bool addClip(const std::string &wavFile, float weight=1.0f, float decibelsDb=0.0f)
Load a WAV clip and add it to this layer's pool.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
virtual std::string resolvePath(const std::string &directory) const
Resolve a directory by replacing , , . variables with the appropriate values.
virtual const DtDePathConfiguration & dePathConfiguration() const
Return the DtDePathConfiguration.
Contains makVrv::DtUniqueID type.
One pool of randomly-triggered WAV clips that can be mixed into a DtProceduralSound.
Definition: DtProceduralSoundLayer.h:37
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
Contains makVrv::DtProceduralSoundCreator abstract base class.