Table of Contents

Class RotationFilter

Namespace
Nyra.Entities.Filters
Assembly
Nyra.dll

Rotates the audio around the stereo channels (audio panning).

public sealed record RotationFilter : IFilter, IEquatable<RotationFilter>
Inheritance
RotationFilter
Implements
Inherited Members

Constructors

RotationFilter(double?, FilterTransition?)

Rotates the audio around the stereo channels (audio panning).

public RotationFilter(double? RotationHz = null, FilterTransition? Transition = null)

Parameters

RotationHz double?

Rotation frequency in Hz, 0.0 disables the filter. NodeLink disables anything at or below 0.001 (only values above it activate), Lavalink only exact 0.0.

Transition FilterTransition

Fades the filter in instead of stepping, NodeLink only, it fades the filter out too (RotationHz 0.0 with a transition, the wet blend animates towards the disable, the rotation keeps its old rate during the fade). Parameter changes still step, and so do removals, no removal in this library carries a transition.

Properties

RotationHz

Rotation frequency in Hz, 0.0 disables the filter. NodeLink disables anything at or below 0.001 (only values above it activate), Lavalink only exact 0.0.

[JsonPropertyName("rotationHz")]
public double? RotationHz { get; init; }

Property Value

double?

Transition

Fades the filter in instead of stepping, NodeLink only, it fades the filter out too (RotationHz 0.0 with a transition, the wet blend animates towards the disable, the rotation keeps its old rate during the fade). Parameter changes still step, and so do removals, no removal in this library carries a transition.

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

Property Value

FilterTransition