XJ music engine  1.9.6
In-game runtime engine for XJ music.
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
XJ::TemplateConfig Class Reference

#include <TemplateConfig.h>

Inheritance diagram for XJ::TemplateConfig:
XJ::ConfigParser

Public Member Functions

 TemplateConfig ()
 
 TemplateConfig (const std::string &input)
 
std::string toString () const
 
bool instrumentTypesForInversionSeekingContains (Instrument::Type type) const
 
float getChoiceMuteProbability (Instrument::Type type)
 
float getDubMasterVolume (Instrument::Type type)
 
float getIntensityThreshold (Instrument::Type type)
 
int getIntensityLayers (Instrument::Type type)
 
bool operator== (const TemplateConfig &other) const
 
- Public Member Functions inherited from XJ::ConfigParser
 ConfigParser (const std::string &input)
 
 ConfigParser (const std::string &input, const ConfigParser &defaults)
 
ConfigSingleValue getSingleValue (const std::string &key)
 
ConfigListValue getListValue (const std::string &key)
 
ConfigObjectValue getObjectValue (const std::string &key)
 
bool operator== (const ConfigParser &other) const
 
void operator= (const ConfigParser &other)
 

Static Public Member Functions

static std::string formatMemeTaxonomy (MemeTaxonomy taxonomy)
 
static std::string formatInstrumentTypeList (const std::vector< Instrument::Type > &input)
 
static std::string formatInstrumentTypeList (const std::set< Instrument::Type > &input)
 
- Static Public Member Functions inherited from XJ::ConfigParser
static std::string format (const bool &value)
 
static std::string format (const int &value)
 
static std::string format (const float &value)
 
static std::string format (const std::string &value)
 
static std::string format (const std::vector< std::string > &values)
 
static std::string format (const std::set< std::string > &values)
 
static std::vector< std::string > splitCsvTopLevel (const std::string &basicString)
 

Public Attributes

std::vector< Instrument::TypedetailLayerOrder
 
std::set< Instrument::TypeinstrumentTypesForAudioLengthFinalization
 
std::set< Instrument::TypeinstrumentTypesForInversionSeeking
 
std::set< std::string > eventNamesLarge
 
std::set< std::string > eventNamesMedium
 
std::set< std::string > eventNamesSmall
 
MemeTaxonomy memeTaxonomy
 
std::set< std::string > deltaArcBeatLayersToPrioritize
 
bool intensityAutoCrescendoEnabled
 
bool deltaArcEnabled
 
bool stickyBunEnabled
 
std::map< Instrument::Type, float > choiceMuteProbability
 
std::map< Instrument::Type, float > dubMasterVolume
 
std::map< Instrument::Type, float > intensityThreshold
 
std::map< Instrument::Type, int > intensityLayers
 
float intensityAutoCrescendoMaximum
 
float intensityAutoCrescendoMinimum
 
float mixerCompressAheadSeconds
 
float mixerCompressDecaySeconds
 
float mixerCompressRatioMax
 
float mixerCompressRatioMin
 
float mixerCompressToAmplitude
 
float mixerNormalizationBoostThreshold
 
float mixerNormalizationCeiling
 
int deltaArcBeatLayersIncoming
 
int deltaArcDetailLayersIncoming
 
int mainProgramLengthMaxDelta
 
int mixerDspBufferSize
 
int mixerHighpassThresholdHz
 
int mixerLowpassThresholdHz
 

Static Public Attributes

static const std::string DEFAULT
 

Constructor & Destructor Documentation

◆ TemplateConfig() [1/2]

TemplateConfig::TemplateConfig ( )
explicit

◆ TemplateConfig() [2/2]

TemplateConfig::TemplateConfig ( const std::string &  input)
explicit

Member Function Documentation

◆ formatInstrumentTypeList() [1/2]

std::string TemplateConfig::formatInstrumentTypeList ( const std::set< Instrument::Type > &  input)
static

◆ formatInstrumentTypeList() [2/2]

std::string TemplateConfig::formatInstrumentTypeList ( const std::vector< Instrument::Type > &  input)
static

◆ formatMemeTaxonomy()

std::string TemplateConfig::formatMemeTaxonomy ( MemeTaxonomy  taxonomy)
static

◆ getChoiceMuteProbability()

float TemplateConfig::getChoiceMuteProbability ( Instrument::Type  type)

Get the Choice Mute Probability of the given type of instrument

Parameters
typeof instrument
Returns
The Choice Mute Probability

◆ getDubMasterVolume()

float TemplateConfig::getDubMasterVolume ( Instrument::Type  type)

Get the Dub Master Volume of the given type of instrument

Parameters
typeof instrument
Returns
The Dub Master Volume

◆ getIntensityLayers()

int TemplateConfig::getIntensityLayers ( Instrument::Type  type)

Get the Intensity Layers of the given type of instrument

Parameters
typeof instrument
Returns
The Intensity Layers

◆ getIntensityThreshold()

float TemplateConfig::getIntensityThreshold ( Instrument::Type  type)

Get the Intensity Threshold of the given type of instrument

Parameters
typeof instrument
Returns
The Intensity Threshold

◆ instrumentTypesForInversionSeekingContains()

bool TemplateConfig::instrumentTypesForInversionSeekingContains ( Instrument::Type  type) const

Whether the instrument types for inverion seeking contains the given type

Parameters
typeto find
Returns
true if found

◆ operator==()

bool TemplateConfig::operator== ( const TemplateConfig other) const

Compare two TemplateConfigs for equality

Parameters
otherThe TemplateConfig to compare
Returns
true if equal

◆ toString()

std::string TemplateConfig::toString ( ) const

Format the TemplateConfig as a HOCON string

Returns
The HOCON string

Member Data Documentation

◆ choiceMuteProbability

std::map<Instrument::Type, float> XJ::TemplateConfig::choiceMuteProbability

◆ DEFAULT

const std::string TemplateConfig::DEFAULT
static

◆ deltaArcBeatLayersIncoming

int XJ::TemplateConfig::deltaArcBeatLayersIncoming

◆ deltaArcBeatLayersToPrioritize

std::set<std::string> XJ::TemplateConfig::deltaArcBeatLayersToPrioritize

◆ deltaArcDetailLayersIncoming

int XJ::TemplateConfig::deltaArcDetailLayersIncoming

◆ deltaArcEnabled

bool XJ::TemplateConfig::deltaArcEnabled

◆ detailLayerOrder

std::vector<Instrument::Type> XJ::TemplateConfig::detailLayerOrder

◆ dubMasterVolume

std::map<Instrument::Type, float> XJ::TemplateConfig::dubMasterVolume

◆ eventNamesLarge

std::set<std::string> XJ::TemplateConfig::eventNamesLarge

◆ eventNamesMedium

std::set<std::string> XJ::TemplateConfig::eventNamesMedium

◆ eventNamesSmall

std::set<std::string> XJ::TemplateConfig::eventNamesSmall

◆ instrumentTypesForAudioLengthFinalization

std::set<Instrument::Type> XJ::TemplateConfig::instrumentTypesForAudioLengthFinalization

◆ instrumentTypesForInversionSeeking

std::set<Instrument::Type> XJ::TemplateConfig::instrumentTypesForInversionSeeking

◆ intensityAutoCrescendoEnabled

bool XJ::TemplateConfig::intensityAutoCrescendoEnabled

◆ intensityAutoCrescendoMaximum

float XJ::TemplateConfig::intensityAutoCrescendoMaximum

◆ intensityAutoCrescendoMinimum

float XJ::TemplateConfig::intensityAutoCrescendoMinimum

◆ intensityLayers

std::map<Instrument::Type, int> XJ::TemplateConfig::intensityLayers

◆ intensityThreshold

std::map<Instrument::Type, float> XJ::TemplateConfig::intensityThreshold

◆ mainProgramLengthMaxDelta

int XJ::TemplateConfig::mainProgramLengthMaxDelta

◆ memeTaxonomy

MemeTaxonomy XJ::TemplateConfig::memeTaxonomy

◆ mixerCompressAheadSeconds

float XJ::TemplateConfig::mixerCompressAheadSeconds

◆ mixerCompressDecaySeconds

float XJ::TemplateConfig::mixerCompressDecaySeconds

◆ mixerCompressRatioMax

float XJ::TemplateConfig::mixerCompressRatioMax

◆ mixerCompressRatioMin

float XJ::TemplateConfig::mixerCompressRatioMin

◆ mixerCompressToAmplitude

float XJ::TemplateConfig::mixerCompressToAmplitude

◆ mixerDspBufferSize

int XJ::TemplateConfig::mixerDspBufferSize

◆ mixerHighpassThresholdHz

int XJ::TemplateConfig::mixerHighpassThresholdHz

◆ mixerLowpassThresholdHz

int XJ::TemplateConfig::mixerLowpassThresholdHz

◆ mixerNormalizationBoostThreshold

float XJ::TemplateConfig::mixerNormalizationBoostThreshold

◆ mixerNormalizationCeiling

float XJ::TemplateConfig::mixerNormalizationCeiling

◆ stickyBunEnabled

bool XJ::TemplateConfig::stickyBunEnabled

The documentation for this class was generated from the following files: