-
-
Notifications
You must be signed in to change notification settings - Fork 94
/
constant.ts
42 lines (40 loc) · 1.03 KB
/
constant.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { StreamType } from ".";
import type { DisTubeOptions, Filters } from ".";
/**
* Default DisTube audio filters.
*/
export const defaultFilters: Filters = {
"3d": "apulsator=hz=0.125",
bassboost: "bass=g=10",
echo: "aecho=0.8:0.9:1000:0.3",
flanger: "flanger",
gate: "agate",
haas: "haas",
karaoke: "stereotools=mlev=0.1",
nightcore: "asetrate=48000*1.25,aresample=48000,bass=g=5",
reverse: "areverse",
vaporwave: "asetrate=48000*0.8,aresample=48000,atempo=1.1",
mcompand: "mcompand",
phaser: "aphaser",
tremolo: "tremolo",
surround: "surround",
earwax: "earwax",
};
export const defaultOptions = {
plugins: [],
emitNewSongOnly: false,
leaveOnEmpty: true,
leaveOnFinish: false,
leaveOnStop: true,
savePreviousSongs: true,
searchSongs: 0,
ytdlOptions: {},
searchCooldown: 60,
emptyCooldown: 60,
nsfw: false,
emitAddSongWhenCreatingQueue: true,
emitAddListWhenCreatingQueue: true,
joinNewVoiceChannel: true,
streamType: StreamType.OPUS,
directLink: true,
} satisfies DisTubeOptions;