API reference
Constructor LavalinkChannelMix
- Namespace
- DisCatSharp.Lavalink.Entities.Filters
- Assembly
- DisCatSharp.Lavalink.dll
LavalinkChannelMix(Optional<float>, Optional<float>, Optional<float>, Optional<float>)
Mixes both channels (left and right), with a configurable factor on how much each channel affects the other. With the defaults, both channels are kept independent of each other. Setting all factors to 0.5 means both channels get the same audio.
public LavalinkChannelMix(Optional<float> leftToLeft, Optional<float> leftToRight, Optional<float> rightToLeft, Optional<float> rightToRight)
Parameters
leftToLeftOptional<float>The left to left channel mix factor (
0.0to1.0where0.5is no effect)leftToRightOptional<float>The left to right channel mix factor (
0.0to1.0where0.5is no effect)rightToLeftOptional<float>The right to left channel mix factor (
0.0to1.0where0.5is no effect)rightToRightOptional<float>The right to right channel mix factor (
0.0to1.0where0.5is no effect)