You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Similar to tremolo. While tremolo oscillates the volume, vibrato oscillates the pitch.
193
+
"vibrato": {
194
+
"frequency": 2.0, // 0 < x ≤ 14
195
+
"depth": 0.5 // 0 < x ≤ 1
196
+
},
197
+
198
+
// Rotates the sound around the stereo channels/user headphones aka Audio Panning. It can produce an effect similar to: https://youtu.be/QB9EB8mTKcc (without the reverb)
199
+
"rotation": {
200
+
"rotationHz": 0 // The frequency of the audio rotating around the listener in Hz. 0.2 is similar to the example video above.
201
+
},
202
+
203
+
// Distortion effect. It can generate some pretty unique audio effects.
204
+
"distortion": {
205
+
"sinOffset": 0,
206
+
"sinScale": 1,
207
+
"cosOffset": 0,
208
+
"cosScale": 1,
209
+
"tanOffset": 0,
210
+
"tanScale": 1,
211
+
"offset": 0,
212
+
"scale": 1
213
+
}
214
+
215
+
// Mixes both channels (left and right), with a configurable factor on how much each channel affects the other.
216
+
// With the defaults, both channels are kept independent from each other.
217
+
// Setting all factors to 0.5 means both channels get the same audio.
218
+
"channelMix": {
219
+
"leftToLeft": 1.0,
220
+
"leftToRight": 0.0,
221
+
"rightToLeft": 0.0,
222
+
"rightToRight": 1.0,
223
+
}
224
+
225
+
// Higher frequencies get suppressed, while lower frequencies pass through this filter, thus the name low pass.
226
+
"lowPass": {
227
+
"smoothing": 20.0
228
+
}
148
229
}
149
230
```
150
231
@@ -165,14 +246,18 @@ and you can send the same VOICE_SERVER_UPDATE to a new node.
165
246
166
247
See [LavalinkSocket.java](https://github.com/freyacodes/lavalink-client/blob/master/src/main/java/lavalink/client/io/LavalinkSocket.java) for client implementation
167
248
168
-
Position information about a player. Includes unix timestamp.
249
+
This event includes:
250
+
* Unix timestamp in milliseconds.
251
+
* Track position in milliseconds. Omitted if not playing anything.
252
+
*`connected` is true when connected to the voice gateway.
@@ -558,7 +651,7 @@ queue is then emptied and the events are then replayed.
558
651
```
559
652
560
653
# Common pitfalls
561
-
Admidtedly Lavalink isn't inherently the most intuitive thing ever, and people tend to run into the same mistakes over again. Please double check the following if you run into problems developing your client and you can't connect to a voice channel or play audio:
654
+
Admittedly Lavalink isn't inherently the most intuitive thing ever, and people tend to run into the same mistakes over again. Please double check the following if you run into problems developing your client and you can't connect to a voice channel or play audio:
562
655
563
656
1. Check that you are forwarding sendWS events to **Discord**.
564
657
2. Check that you are intercepting **VOICE_SERVER_UPDATE**s to **Lavalink**. Do not edit the event object from Discord.
0 commit comments