Search Results for

    Show / Hide Table of Contents

    Struct LavalinkBandAdjustment

    Represents Lavalink equalizer band adjustment. This is used to alter the sound output by using Lavalink's equalizer.

    Namespace: DisCatSharp.Lavalink
    Assembly: DisCatSharp.Lavalink.dll
    Syntax
    public struct LavalinkBandAdjustment

    Constructors

    | Improve this Doc View Source

    LavalinkBandAdjustment(Int32, Single)

    Creates a new band adjustment with specified parameters.

    Declaration
    public LavalinkBandAdjustment(int bandId, float gain)
    Parameters
    Type Name Description
    System.Int32 bandId

    Which band to adjust. Must be in 0-14 range.

    System.Single gain

    By how much to adjust the band. Must be greater than or equal to -0.25 (muted), and less than or equal to +1.0. +0.25 means the band is doubled.

    Properties

    | Improve this Doc View Source

    BandId

    Gets the ID of the band to adjust.

    Declaration
    public readonly int BandId { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Gain

    Gets the gain of the specified band.

    Declaration
    public readonly float Gain { get; }
    Property Value
    Type Description
    System.Single

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems