Class
TremoloSoundEffect
Creates a trembling effect on a sound by varying the volume of the sound up and down.
The TremoloSoundEffect creates a trembling effect on a sound by varying the volume of the sound up and down.
Like all other SoundEffects, a TremoloSoundEffect can be
applied either to a Sound or SoundGroup by being parented to
either.
Properties 3#
Depthfloat | Controls how much the volume will raise and lower.ReadSafe |
Dutyfloat | Controls how long during one volume oscillation the effect will be active.ReadSafe |
Frequencyfloat | Sets how often the effect will oscillate the volume.ReadSafe |
Depth: float#
ReadSafe
Range: 0 to 1 (default 1) Controls how much the volume will raise and lower. This value ranges between 0 (minimum volume) and 1 (maximum volume). If set to its minimum, the volume will not oscillate at all.
Duty: float#
ReadSafe
Range: 0 to 1 (default 0.5) Controls how long during one volume oscillation the effect will be active, specifically what percentage between 0 (0%) and 1 (100%).
Frequency: float#
ReadSafe
Range: 0.1 to 20 (default 5) Sets how often the effect will oscillate the volume. Measured in Hz.
Inherited members#
Inherited from SoundEffect 2
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild