Class HighPassFilter
Suppresses lower frequencies, the counterpart of the low-pass filter.
public sealed record HighPassFilter : IFilter, IEquatable<HighPassFilter>
- Inheritance
-
HighPassFilter
- Implements
- Inherited Members
Remarks
NodeLink only.
Constructors
HighPassFilter(float?, float?, FilterTransition?)
Suppresses lower frequencies, the counterpart of the low-pass filter.
public HighPassFilter(float? Smoothing = null, float? TargetAlpha = null, FilterTransition? Transition = null)
Parameters
Smoothingfloat?Smoothing factor, the server default is 0, and any value of 0 to 1.0 leaves the filter inactive. Negative values are rejected client-side before the wire. Higher smoothing cuts more audio.
TargetAlphafloat?Direct coefficient override in the settings schema, but NodeLink ignores it (the coefficient comes from the smoothing), the server just echoes it back.
TransitionFilterTransitionFades the filter in or out instead of stepping. A smoothing change sent with a transition animates towards the new coefficient too, like the low-pass counterpart.
Remarks
NodeLink only.
Properties
Smoothing
Smoothing factor, the server default is 0, and any value of 0 to 1.0 leaves the filter inactive. Negative values are rejected client-side before the wire. Higher smoothing cuts more audio.
[JsonPropertyName("smoothing")]
public float? Smoothing { get; init; }
Property Value
TargetAlpha
Direct coefficient override in the settings schema, but NodeLink ignores it (the coefficient comes from the smoothing), the server just echoes it back.
[JsonPropertyName("targetAlpha")]
public float? TargetAlpha { get; init; }
Property Value
Transition
Fades the filter in or out instead of stepping. A smoothing change sent with a transition animates towards the new coefficient too, like the low-pass counterpart.
[JsonPropertyName("transition")]
public FilterTransition? Transition { get; init; }