Table of Contents

Class ChannelMixFilter

Namespace
Nyra.Entities.Filters
Assembly
Nyra.dll

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

LeftToLeft float?

How much of the left channel stays in the left output, 0.0-1.0, the default 1.0 keeps it independent.

LeftToRight float?

How much of the left channel crosses into the right output, 0.0-1.0, the default 0.0 crosses none.

RightToLeft float?

How much of the right channel crosses into the left output, 0.0-1.0, the default 0.0 crosses none.

RightToRight float?

How much of the right channel stays in the right output, 0.0-1.0, the default 1.0 keeps it independent.

Transition FilterTransition

NodeLink 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

float?

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

float?

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

float?

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

float?

Transition

NodeLink only, fades the filter in or out instead of stepping it.

[JsonPropertyName("transition")]
public FilterTransition? Transition { get; init; }

Property Value

FilterTransition