CompressorSoundEffect
Reduces audio levels above a threshold.
- Creatable
Instance.new("CompressorSoundEffect")- Inherits
- SoundEffectInstance
- Replication
- Standard
Behavior
CompressorSoundEffect reduces audio levels above a threshold.
Summary
The compressor response time when a signal exceeds the threshold.
Whether this effect processes the audio signal.
The output gain added after compression.
The relative priority used to order or process this object.
The compression ratio applied above the threshold.
The compressor response time when a signal drops below the threshold.
The input level above which compression is applied.
Returns this instance if it is an ExecutionGroup.
Properties
Attack
CompressorSoundEffect.Attack: number = 0.1The compressor response time when a signal exceeds the threshold.
Enabled
CompressorSoundEffect.Enabled: boolean = trueWhether this effect processes the audio signal.
GainMakeup
CompressorSoundEffect.GainMakeup: number = 0The output gain added after compression.
Priority
CompressorSoundEffect.Priority: number = 0The relative priority used to order or process this object.
Ratio
CompressorSoundEffect.Ratio: number = 2The compression ratio applied above the threshold.
Release
CompressorSoundEffect.Release: number = 0.1The compressor response time when a signal drops below the threshold.
Threshold
CompressorSoundEffect.Threshold: number = -20The input level above which compression is applied.
Methods
GetExecutionGroup
CompressorSoundEffect:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying