Adding more default environment values and renaming speed of sound

parent eb5f79d6
......@@ -66,9 +66,25 @@ namespace ITAConstants
static std::vector< float > OCTAVE_CENTER_FREQUENCIES_ISO_F = { 31.5f, 63, 125, 250, 500, 1000, 2000, 4000, 8000, 16000 };
static std::vector< double > OCTAVE_CENTER_FREQUENCIES_ISO_D = { 31.5f, 63, 125, 250, 500, 1000, 2000, 4000, 8000, 16000 };
// Speed of sound
static float SPEED_OF_SOUND_F = 344.0f;
static double SPEED_OF_SOUND_D = 344.0f;
// Default speed of sound at 344 m/s
static double DEFAULT_SPEED_OF_SOUND_D = 344.0f; // m/s
static float DEFAULT_SPEED_OF_SOUND_F = (float) DEFAULT_SPEED_OF_SOUND_D; // m/s
// Dfault humindity at 80%
static double DEFAULT_HUMIDITY_D = 80.0f; // Percent
static float DEFAULT_HUMIDITY_F = (float)DEFAULT_HUMIDITY_D; // Percent
// Default temperature at 20 centigrade (degree celcius)
static double DEFAULT_TEMPERATURE_D = 20.0f; // C
static float DEFAULT_TEMPERATURE_F = (float)DEFAULT_TEMPERATURE_D; // C
// Default static pressure at 100125.0 Pa
static double DEFAULT_STATIC_PRESSURE_D = 101325.0f; // Pascal (absolute)
static float DEFAULT_STATIC_PRESSURE_F = (float)DEFAULT_STATIC_PRESSURE_D; // Pascal (absolute)
// Legacy, please use DEFAULT_SPEED_OF_SOUND instead
static double SPEED_OF_SOUND_D = DEFAULT_SPEED_OF_SOUND_D; // m/s
static float SPEED_OF_SOUND_F = DEFAULT_SPEED_OF_SOUND_F; // m/s
};
#endif // INCLUDE_WATCHER_ITA_CONSTANTS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment