20 class DtDePathConfiguration;
21 class DtProceduralSoundLayer;
104 float myDensity = 1.0f;
106 float myGainMin = 0.6f;
108 float myGainMax = 1.0f;
110 float myPitchMin = 0.97f;
112 float myPitchMax = 1.03f;
114 bool myLoaded =
false;
130 static DtSourceKind classifySource(
const std::string& src);
147 constexpr std::size_t kPrefixLen = 16;
148 if (src.size() > kPrefixLen &&
149 src.compare(0, kPrefixLen,
"ProceduralSound:") == 0)
151 return src.substr(kPrefixLen);
153 if (src.size() > kPrefixLen &&
154 src.compare(0, kPrefixLen,
"ModelDefinition:") == 0)
156 return src.substr(kPrefixLen);
185 static ClipLoadResult loadClipsIntoLayer(
187 const std::string&
source,
199 static void resolveSource(
Contains makVrv::DtProceduralSoundLayer class.
empty, raw file path, or otherwise unrecognized
Static utility helpers shared by procedural sound behavior implementations.
Definition: DtProceduralSoundBehaviorHelper.h:89
The DtDePathConfiguration contains paths to various files, and can resolve the path macros ...
Definition: DtDePathConfiguration.h:23
Contains the DLL export macro for vrvAudio classes.
static std::string extractKey(const std::string &src)
Strip the optional "ProceduralSound:" or "ModelDefinition:" prefix and return the bare key / entry na...
Definition: DtProceduralSoundBehaviorHelper.h:145
Result of a loadClipsIntoLayer() call.
Definition: DtProceduralSoundBehaviorHelper.h:97
DtSourceKind
Classification of a procedural-soundscape source reference.
Definition: DtProceduralSoundBehaviorHelper.h:29
const char * source
Definition: lz4.h:442
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
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
"ModelDefinition:<entryName>"
"ProceduralSound:<key>" or legacy bare-word key