VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindSoundConfig.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvAudio/vrvAudio.h>
13 
14 #include <map>
15 #include <string>
16 #include <vector>
17 
18 namespace makVrv
19 {
23  {
25  std::string source;
26 
28  float peakFromMs = 0.0f;
29 
31  float peakToMs = 9999.0f;
32 
35  float gain = 1.0f;
36  };
37 
41  {
43  float crossfadeWidthMs = 3.0f;
44 
46  float onsetRampMs = 1.0f;
47 
49  std::vector<DtWindSoundTier> tiers;
50 
54  static DtWindSoundConfig makeDefault();
55 
62  static DtWindSoundConfig fromParams(const std::map<std::string, std::string>& params);
63  };
64 
65 } // namespace makVrv
std::vector< DtWindSoundTier > tiers
Ordered tiers, lowest speed first.
Definition: DtWindSoundConfig.h:49
Contains the DLL export macro for vrvAudio classes.
Configuration for one wind speed tier (one audio layer).
Definition: DtWindSoundConfig.h:22
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
std::string source
WAV/OGG absolute path OR &quot;ProceduralSound:&lt;key&gt;&quot;.
Definition: DtWindSoundConfig.h:25
Full configuration for DtWindSoundBehavior.
Definition: DtWindSoundConfig.h:40

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)