forked from Wh1teSlash/kazagumo-filter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 58925c4
Showing
10 changed files
with
945 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# Next.js build output | ||
.next | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# kazagumo-filter | ||
A plugin that allows you to set filter faster in Kazagumo | ||
|
||
Install | ||
``` | ||
npm i kazagumo-filter | ||
``` | ||
|
||
Support filter: | ||
``` | ||
- clear | ||
- eightD | ||
- soft | ||
- speed | ||
- karaoke | ||
- nightcore | ||
- pop | ||
- vaporwave | ||
- bass | ||
- party | ||
- earrape | ||
- equalizer | ||
- electronic | ||
- radio | ||
- tremolo | ||
- treblebass | ||
- vibrato | ||
- china | ||
- chimpunk | ||
- darthvader | ||
- daycore | ||
- doubletime | ||
- pitch | ||
- rate | ||
- slow | ||
``` | ||
|
||
How to | ||
```js | ||
const { Kazagumo } = require('kazagumo'); | ||
const KazagumoFilter = require('kazagumo-filter'); | ||
|
||
const kazagumo = new Kazagumo( | ||
{ | ||
plugins: [ | ||
new KazagumoFilter({ | ||
countryCode: "us", // Default is "us" | ||
imageWidth: 600, // Default is 600 | ||
imageHeight: 900 // Default is 900 | ||
}), | ||
], | ||
}, | ||
new Connectors.DiscordJS(client), | ||
Nodes, | ||
); | ||
|
||
const player = kazagumo.player.get("guild_id") | ||
await player.filter("nightcore") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"clear":{},"eightD":{"rotation":{"rotationHz":0.2}},"soft":{"lowPass":{"smoothing":20}},"speed":{"timescale":{"speed":1.501,"pitch":1.245,"rate":1.921}},"karaoke":{"karaoke":{"level":1,"monoLevel":1,"filterBand":220,"filterWidth":100}},"nightcore":{"timescale":{"speed":1.3,"pitch":1.3}},"pop":{"equalizer":[{"band":0,"gain":-0.25},{"band":1,"gain":0.48},{"band":2,"gain":0.59},{"band":3,"gain":0.72},{"band":4,"gain":0.56},{"band":6,"gain":-0.24},{"band":8,"gain":-0.16}]},"vaporwave":{"equalizer":[{"band":1,"gain":0.3},{"band":0,"gain":0.3}],"timescale":{"pitch":0.5},"tremolo":{"depth":0.3,"frequency":14}},"bass":{"equalizer":[{"band":0,"gain":0.1},{"band":1,"gain":0.1},{"band":2,"gain":0.05},{"band":3,"gain":0.05},{"band":4,"gain":-0.05},{"band":5,"gain":-0.05},{"band":6,"gain":0},{"band":7,"gain":-0.05},{"band":8,"gain":-0.05},{"band":9,"gain":0},{"band":10,"gain":0.05},{"band":11,"gain":0.05},{"band":12,"gain":0.1},{"band":13,"gain":0.1}]},"party":{"equalizer":[{"band":0,"gain":-1.16},{"band":1,"gain":0.28},{"band":2,"gain":0.42},{"band":3,"gain":0.5},{"band":4,"gain":0.36},{"band":5,"gain":0},{"band":6,"gain":-0.3},{"band":7,"gain":-0.21},{"band":8,"gain":-0.21}]},"earrape":{"equalizer":[{"band":0,"gain":0.25},{"band":1,"gain":0.5},{"band":2,"gain":-0.5},{"band":3,"gain":-0.25},{"band":4,"gain":0},{"band":6,"gain":-0.025},{"band":7,"gain":-0.0175},{"band":8,"gain":0},{"band":9,"gain":0},{"band":10,"gain":0.0125},{"band":11,"gain":0.025},{"band":12,"gain":0.375},{"band":13,"gain":0.125},{"band":14,"gain":0.125}]},"equalizer":{"equalizer":[{"band":0,"gain":0.375},{"band":1,"gain":0.35},{"band":2,"gain":0.125},{"band":5,"gain":-0.125},{"band":6,"gain":-0.125},{"band":8,"gain":0.25},{"band":9,"gain":0.125},{"band":10,"gain":0.15},{"band":11,"gain":0.2},{"band":12,"gain":0.25},{"band":13,"gain":0.35},{"band":14,"gain":0.4}]},"electronic":{"equalizer":[{"band":0,"gain":0.375},{"band":1,"gain":0.35},{"band":2,"gain":0.125},{"band":5,"gain":-0.125},{"band":6,"gain":-0.125},{"band":8,"gain":0.25},{"band":9,"gain":0.125},{"band":10,"gain":0.15},{"band":11,"gain":0.2},{"band":12,"gain":0.25},{"band":13,"gain":0.35},{"band":14,"gain":0.4}]},"radio":{"equalizer":[{"band":0,"gain":-0.25},{"band":1,"gain":0.48},{"band":2,"gain":0.59},{"band":3,"gain":0.72},{"band":4,"gain":0.56},{"band":6,"gain":-0.24},{"band":8,"gain":-0.16}]},"tremolo":{"tremolo":{"depth":0.3,"frequency":14}},"treblebass":{"equalizer":[{"band":0,"gain":0.6},{"band":1,"gain":0.67},{"band":2,"gain":0.67},{"band":3,"gain":0},{"band":4,"gain":-0.5},{"band":5,"gain":0.15},{"band":6,"gain":-0.45},{"band":7,"gain":0.23},{"band":8,"gain":0.35},{"band":9,"gain":0.45},{"band":10,"gain":0.55},{"band":11,"gain":0.6},{"band":12,"gain":0.55}]},"vibrato":{"vibrato":{"depth":0.3,"frequency":14}},"china":{"timescale":{"speed":0.75,"pitch":1.25,"rate":1.25}},"chimpunk":{"timescale":{"speed":1.05,"pitch":1.35,"rate":1.25}},"darthvader":{"timescale":{"speed":0.975,"pitch":0.5,"rate":0.8}},"daycore":{"equalizer":[{"band":0,"gain":0},{"band":1,"gain":0},{"band":2,"gain":0},{"band":3,"gain":0},{"band":4,"gain":0},{"band":5,"gain":0},{"band":6,"gain":0},{"band":7,"gain":0},{"band":8,"gain":-0.25},{"band":9,"gain":-0.25},{"band":10,"gain":-0.25},{"band":11,"gain":-0.25},{"band":12,"gain":-0.25},{"band":13,"gain":-0.25}],"timescale":{"pitch":0.63,"rate":1.05}},"doubletime":{"timescale":{"speed":1.165}},"pitch":{"timescale":{"pitch":3}},"rate":{"timescale":{"rate":2}},"slow":{"timescale":{"speed":0.5,"pitch":1,"rate":0.8}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "kazagumo-filter", | ||
"version": "1.0.0", | ||
"description": "A plugin that allows you to set filter faster in Kazagumo", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "npm-run-all build:remove:discordjs build:typescript build:add:discordjs", | ||
"build:remove:discordjs": "npm remove discord.js", | ||
"build:add:discordjs": "npm i discord.js", | ||
"build:typescript": "tsc" | ||
}, | ||
"author": "RainyXeon", | ||
"license": "ISC", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/RainyXeon/kazagumo-filter.git" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"homepage": "https://github.com/RainyXeon/kazagumo-filter#readme", | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"dotenv": "^16.0.3", | ||
"nodemon": "^2.0.20", | ||
"npm-run-all": "^4.1.5", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
}, | ||
"dependencies": { | ||
"axios": "^1.1.3", | ||
"discord.js": "^14.13.0", | ||
"kazagumo": "^2.2.3" | ||
} | ||
} |
Oops, something went wrong.