FAudioGMS-Docs/docs/latest/Functions-(Effect-Chains).md

96 lines
4.2 KiB
Markdown
Raw Normal View History

2021-11-02 21:25:52 +00:00
## `FAudioGMS_EffectChain_Create()`
**Returns:** Number, an **effect chain ID**
|Argument|Datatype|Description |
|--------|--------|------------------------------------------------------|
2021-11-02 21:30:04 +00:00
|None | | |
2021-11-02 21:25:52 +00:00
 
## `FAudioGMS_EffectChain_Destroy(effectChainID)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|---------------|--------|------------------------------------------------------|
|`effectChainID`|number | |
 
## `FAudioGMS_EffectChain_AddDefaultReverb(effectChainID)`
**Returns:** N/A (`undefined`)
2021-11-02 21:37:46 +00:00
|Argument |Datatype|Description |
|---------------|--------|------------------------------------------------------|
|`effectChainID`| | |
2021-11-02 21:25:52 +00:00
 
## `FAudioGMS_EffectChain_AddReverb(...)`
**Returns:** N/A (`undefined`)
2021-11-02 21:37:46 +00:00
|Argument |Datatype|Description |
|------------------|--------|------------------------------------------------------|
|`effectChainID` |number | |
|`wetDryMix` |number | |
|`reflectionsDelay`|number | |
|`reverbDelay` |number | |
|`earlyDiffusion` |number | |
|`lateDiffusion` |number | |
|`lowEQGain` |number | |
|`lowEQCutoff` |number | |
|`highEQGain` |number | |
|`highEQCutoff` |number | |
|`reflectionsGain` |number | |
|`reverbGain` |number | |
|`decayTime` |number | |
|`density` |number | |
|`roomSize` |number | |
2021-11-02 21:25:52 +00:00
 
## `FAudioGMS_SoundInstance_SetEffectChain(soundInstanceID, effectChainID, effectGain)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|-----------------|--------|------------------------------------------------------|
|`soundInstanceID`|number | |
|`effectChainID` |number | |
|`effectGain` |number | |
 
## `FAudioGMS_SoundInstance_SetEffectGain(soundInstanceID, effectGain)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|-----------------|--------|------------------------------------------------------|
|`soundInstanceID`|number | |
|`effectGain` |number | |
 
## `FAudioGMS_SetMasteringEffectChain(effectChainID, effectGain)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|---------------|--------|------------------------------------------------------|
|`effectChainID`|number | |
|`effectGain` |number | |
 
## `FAudioGMS_SetMasteringEffectGain(effectGain)`
**Returns:** N/A (`undefined`)
|Argument |Datatype|Description |
|------------|--------|------------------------------------------------------|
|`effectGain`|number | |