Class ChannelMixFilter
Mixes both audio channels, with the server defaults they stay independent, all factors at 0.5 make both carry the same audio.
public sealed record ChannelMixFilter : IFilter, IEquatable<ChannelMixFilter>
- Inheritance
-
ChannelMixFilter
- Implements
- Inherited Members
Remarks
Defaults, leftToLeft/rightToRight 1.0, leftToRight/rightToLeft 0.0. The NodeLink-only transition fades the filter in or out, and the mix factors themselves animate towards the new values.
Constructors
ChannelMixFilter(float?, float?, float?, float?, FilterTransition?)
Mixes both audio channels, with the server defaults they stay independent, all factors at 0.5 make both carry the same audio.
public ChannelMixFilter(float? LeftToLeft = null, float? LeftToRight = null, float? RightToLeft = null, float? RightToRight = null, FilterTransition? Transition = null)
Parameters
LeftToLeftfloat?How much of the left channel stays in the left output, 0.0-1.0, the default 1.0 keeps it independent.
LeftToRightfloat?How much of the left channel crosses into the right output, 0.0-1.0, the default 0.0 crosses none.
RightToLeftfloat?How much of the right channel crosses into the left output, 0.0-1.0, the default 0.0 crosses none.
RightToRightfloat?How much of the right channel stays in the right output, 0.0-1.0, the default 1.0 keeps it independent.
TransitionFilterTransitionNodeLink only, fades the filter in or out instead of stepping it.
Remarks
Defaults, leftToLeft/rightToRight 1.0, leftToRight/rightToLeft 0.0. The NodeLink-only transition fades the filter in or out, and the mix factors themselves animate towards the new values.
Properties
LeftToLeft
How much of the left channel stays in the left output, 0.0-1.0, the default 1.0 keeps it independent.
[JsonPropertyName("leftToLeft")]
public float? LeftToLeft { get; init; }
Property Value
LeftToRight
How much of the left channel crosses into the right output, 0.0-1.0, the default 0.0 crosses none.
[JsonPropertyName("leftToRight")]
public float? LeftToRight { get; init; }
Property Value
RightToLeft
How much of the right channel crosses into the left output, 0.0-1.0, the default 0.0 crosses none.
[JsonPropertyName("rightToLeft")]
public float? RightToLeft { get; init; }
Property Value
RightToRight
How much of the right channel stays in the right output, 0.0-1.0, the default 1.0 keeps it independent.
[JsonPropertyName("rightToRight")]
public float? RightToRight { get; init; }
Property Value
Transition
NodeLink only, fades the filter in or out instead of stepping it.
[JsonPropertyName("transition")]
public FilterTransition? Transition { get; init; }