mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 06:28:53 +00:00
feat: added equalizer filters to /filters command
This commit is contained in:
1 parent
ebe20fe8c8
commit
9584fe8ebe
4 files changed
+213
-38
No files matched your search
+129
-10
@@ -205,6 +205,12 @@ module.exports.ffmpegFilterOptions = {
|
||||
value: 'silenceremove',
|
||||
description: 'Remove silence from start of tracks.',
|
||||
emoji: '🔇'
|
||||
},
|
||||
{
|
||||
label: 'Fade in',
|
||||
value: 'fadein',
|
||||
description: 'Fade in the audio at the start of tracks.',
|
||||
emoji: '📈'
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -212,61 +218,61 @@ module.exports.ffmpegFilterOptions = {
|
||||
module.exports.biquadFilterOptions = {
|
||||
availableFilters: [
|
||||
{
|
||||
label: 'Basic Low Pass (Approx.)',
|
||||
label: 'Basic low pass (approx.)',
|
||||
value: 'SinglePoleLowPassApprox',
|
||||
description: 'Low frequencies pass, approximate.',
|
||||
emoji: '🔉'
|
||||
},
|
||||
{
|
||||
label: 'Basic Low Pass',
|
||||
label: 'Basic low pass',
|
||||
value: 'SinglePoleLowPass',
|
||||
description: 'Low frequencies pass.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Advanced Low Pass',
|
||||
label: 'Advanced low pass',
|
||||
value: 'LowPass',
|
||||
description: 'Enhanced low frequency pass.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'High Pass',
|
||||
label: 'High pass',
|
||||
value: 'HighPass',
|
||||
description: 'High frequencies pass.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Band Pass',
|
||||
label: 'Band pass',
|
||||
value: 'BandPass',
|
||||
description: 'Specific frequency range pass.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Notch Filter',
|
||||
label: 'Notch filter',
|
||||
value: 'Notch',
|
||||
description: 'Reduces specific frequency.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Phase Adjuster',
|
||||
label: 'Phase adjuster',
|
||||
value: 'AllPass',
|
||||
description: 'Alters sound phase.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Low Shelf',
|
||||
label: 'Low shelf',
|
||||
value: 'LowShelf',
|
||||
description: 'Boosts/reduces low frequencies.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'High Shelf',
|
||||
label: 'High shelf',
|
||||
value: 'HighShelf',
|
||||
description: 'Boosts/reduces high frequencies.',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Peaking Equalizer',
|
||||
label: 'Peaking equalizer',
|
||||
value: 'PeakingEQ',
|
||||
description: 'Adjusts specific frequencies.',
|
||||
emoji: '🔊'
|
||||
@@ -274,6 +280,119 @@ module.exports.biquadFilterOptions = {
|
||||
]
|
||||
};
|
||||
|
||||
module.exports.equalizerFilterOptions = {
|
||||
availableFilters: [
|
||||
{
|
||||
label: 'Flat',
|
||||
value: 'Flat',
|
||||
description: 'Neutral sound balance',
|
||||
emoji: '🔉'
|
||||
},
|
||||
{
|
||||
label: 'Classical',
|
||||
value: 'Classical',
|
||||
description: 'Optimized for orchestras',
|
||||
emoji: '🎻'
|
||||
},
|
||||
{
|
||||
label: 'Club',
|
||||
value: 'Club',
|
||||
description: 'Boosted bass and treble',
|
||||
emoji: '🎵'
|
||||
},
|
||||
{
|
||||
label: 'Dance',
|
||||
value: 'Dance',
|
||||
description: 'High bass and treble',
|
||||
emoji: '💃'
|
||||
},
|
||||
{
|
||||
label: 'Full bass',
|
||||
value: 'FullBass',
|
||||
description: 'Maximized bass response',
|
||||
emoji: '🔊'
|
||||
},
|
||||
{
|
||||
label: 'Full bass & treble',
|
||||
value: 'FullBassTreble',
|
||||
description: 'Bass and treble boost',
|
||||
emoji: '🎵'
|
||||
},
|
||||
{
|
||||
label: 'Full treble',
|
||||
value: 'FullTreble',
|
||||
description: 'Maximized treble response',
|
||||
emoji: '🎶'
|
||||
},
|
||||
{
|
||||
label: 'Headphones',
|
||||
value: 'Headphones',
|
||||
description: 'Optimized for headphones',
|
||||
emoji: '🎧'
|
||||
},
|
||||
{
|
||||
label: 'Large hall',
|
||||
value: 'LargeHall',
|
||||
description: 'Echo effect for halls',
|
||||
emoji: '🏛️'
|
||||
},
|
||||
{
|
||||
label: 'Live',
|
||||
value: 'Live',
|
||||
description: 'Imitates live music',
|
||||
emoji: '🎤'
|
||||
},
|
||||
{
|
||||
label: 'Party',
|
||||
value: 'Party',
|
||||
description: 'Balanced for loudness',
|
||||
emoji: '🎉'
|
||||
},
|
||||
{
|
||||
label: 'Pop',
|
||||
value: 'Pop',
|
||||
description: 'Optimized for pop music',
|
||||
emoji: '🎤'
|
||||
},
|
||||
{
|
||||
label: 'Reggae',
|
||||
value: 'Reggae',
|
||||
description: 'Optimized for reggae music',
|
||||
emoji: '🎷'
|
||||
},
|
||||
{
|
||||
label: 'Rock',
|
||||
value: 'Rock',
|
||||
description: 'Optimized for rock music',
|
||||
emoji: '🎸'
|
||||
},
|
||||
{
|
||||
label: 'Ska',
|
||||
value: 'Ska',
|
||||
description: 'Optimized for ska music',
|
||||
emoji: '🎷'
|
||||
},
|
||||
{
|
||||
label: 'Soft',
|
||||
value: 'Soft',
|
||||
description: 'Softened sound balance',
|
||||
emoji: '🎶'
|
||||
},
|
||||
{
|
||||
label: 'Soft rock',
|
||||
value: 'SoftRock',
|
||||
description: 'Optimized for soft rock',
|
||||
emoji: '🎸'
|
||||
},
|
||||
{
|
||||
label: 'Techno',
|
||||
value: 'Techno',
|
||||
description: 'Optimized for techno music',
|
||||
emoji: '🎹'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
// Configuration for load testing. Enables the bot to simulate certain behaviors for testing purposes.
|
||||
// If enabled, the bot will join the specified channels and play specified track.
|
||||
module.exports.loadTestOptions = {
|
||||
|
||||
Reference in new issue
Block a user