Skip to content

Commit

Permalink
chore(@discord-player/extractor): release 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed May 24, 2023
1 parent 451214b commit d54d49d
Show file tree
Hide file tree
Showing 153 changed files with 729 additions and 711 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Downloads stream through youtube-dl
| url | string || URL to download stream from |


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L24)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L24)
### public static getInfo(url): Promise\<\{ info: Array\<Info>,playlist: any }>
Returns stream info

Expand All @@ -32,11 +32,11 @@ Returns stream info
| url | string || stream url |


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L49)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L49)
### public static validate(url): boolean
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| url | string ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/downloader/src/Downloader.ts#L83)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/downloader/src/Downloader.ts#L83)
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,29 @@ new AudioFilter(options)

## Properties
### public bits: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L13)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L13)
### public bytes: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L14)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L14)
### public disabled: boolean
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L16)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L16)
### public extremum: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L15)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L15)
### public filters: Array\<'8D' \| 'Tremolo' \| 'Vibrato'>
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L28)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L28)
### public pulsatorConfig: AFPulsatorConfig
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L33)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L33)
### public sampleRate: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L17)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L17)
### public targetSampleRate: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L29)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L29)
### public totalSamples: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L30)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L30)
### public tremoloConfig: AFTremoloConfig
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L39)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L39)
### public type: 's16le' \| 's16be' \| 's32le' \| 's32be'
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L12)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L12)
### public vibratoConfig: AFTremoloConfig
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L45)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L45)
### public currentDuration: number

### public currentSampleRate: number
Expand All @@ -53,7 +53,7 @@ new AudioFilter(options)
| index | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L62)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L62)
### public _transform(chunk, encoding, callback): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
Expand All @@ -62,7 +62,7 @@ new AudioFilter(options)
| callback | TransformCallback ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L123)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L123)
### public _writeInt(buffer, int, index): number
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
Expand All @@ -71,15 +71,15 @@ new AudioFilter(options)
| index | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L67)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L67)
### public applyFilters(byte, channel): number
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| byte | number ||
| channel | LR ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L162)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L162)
### public clamp(val, max, min): number
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
Expand All @@ -88,61 +88,61 @@ new AudioFilter(options)
| min | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L72)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L72)
### public disable(): void
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L50)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L50)
### public enable(): void
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L54)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L54)
### public onUpdate(): void
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L18)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L18)
### public seek(duration): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| duration | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L112)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L112)
### public setFilters(filters): boolean
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| filters | Array\<'8D' \| 'Tremolo' \| 'Vibrato'> ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L99)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L99)
### public setPulsator(hz): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| hz | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L66)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L66)
### public setSampleRate(rate): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| rate | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L76)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L76)
### public setTargetSampleRate(rate): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| rate | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L61)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L61)
### public setTremolo(__namedParameters): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| __namedParameters | Partial\<AFTremoloConfig> ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L79)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L79)
### public setVibrato(__namedParameters): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| __namedParameters | Partial\<AFTremoloConfig> ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/audio/AudioFilter.ts#L87)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/audio/AudioFilter.ts#L87)
### public toggle(): void
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/utils/PCMTransformer.ts#L58)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/utils/PCMTransformer.ts#L58)
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ new BiquadFilter(coefficients)

## Properties
### public coefficients: Coefficients
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L18)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L18)
### public s1: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L15)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L15)
### public s2: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L16)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L16)
### public x1: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L11)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L11)
### public x2: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L12)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L12)
### public y1: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L13)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L13)
### public y2: number
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L14)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L14)

## Methods
### public replace(coefficients): void
Expand All @@ -32,35 +32,35 @@ new BiquadFilter(coefficients)
| coefficients | Coefficients ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L30)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L30)
### public reset(): void
- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L34)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L34)
### public run(input): number
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| input | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L43)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L43)
### public runTransposed(input): number
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| input | number ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L56)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L56)
### public setFilter(filter, options): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| filter | BiquadFilters ||
| options | BiquadSetFilterProps ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L20)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L20)
### public update(coefficients): void
| Parameter | Type | Optional |
| ----------- | ----------- | ----------- |
| coefficients | Coefficients ||


- [Source](https://github.com/Androz2091/discord-player/blob/e5339f1/packages/equalizer/src/biquad/Biquad.ts#L26)
- [Source](https://github.com/Androz2091/discord-player/blob/451214b/packages/equalizer/src/biquad/Biquad.ts#L26)
Loading

0 comments on commit d54d49d

Please sign in to comment.