Class TremoloFilter
Quickly oscillates the volume.
public sealed record TremoloFilter : IFilter, IEquatable<TremoloFilter>
- Inheritance
-
TremoloFilter
- Implements
- Inherited Members
Remarks
Defaults on Lavalink, frequency 2.0, depth 0.5.
NodeLink reads a missing member as 0 and runs the filter inert, a partial object from a co-client stays inactive there, and a full-chain write by this side fills the unset members with the defaults above, activating it. Send explicit values to pin the sound you intend.
Constructors
TremoloFilter(float?, float?, FilterTransition?)
Quickly oscillates the volume.
public TremoloFilter(float? Frequency = null, float? Depth = null, FilterTransition? Transition = null)
Parameters
Frequencyfloat?Hz, greater than 0.
Depthfloat?Greater than 0 and up to 1.0, Lavalink rejects a larger value, NodeLink clamps it.
TransitionFilterTransitionFades the filter in or out instead of stepping, NodeLink only. Parameter changes still step.
Remarks
Defaults on Lavalink, frequency 2.0, depth 0.5.
NodeLink reads a missing member as 0 and runs the filter inert, a partial object from a co-client stays inactive there, and a full-chain write by this side fills the unset members with the defaults above, activating it. Send explicit values to pin the sound you intend.
Properties
Depth
Greater than 0 and up to 1.0, Lavalink rejects a larger value, NodeLink clamps it.
[JsonPropertyName("depth")]
public float? Depth { get; init; }
Property Value
Frequency
Hz, greater than 0.
[JsonPropertyName("frequency")]
public float? Frequency { get; init; }
Property Value
Transition
Fades the filter in or out instead of stepping, NodeLink only. Parameter changes still step.
[JsonPropertyName("transition")]
public FilterTransition? Transition { get; init; }