Working on processors a tiny bit
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import type { AudioProcessor } from "./AudioProcessor";
|
||||
import type { AudioProcessor, ProcessorCategory } from "./AudioProcessor";
|
||||
|
||||
export class Normalize implements AudioProcessor {
|
||||
getName(): string {
|
||||
@ -9,6 +9,10 @@ export class Normalize implements AudioProcessor {
|
||||
return "Normalizes audio to maximum amplitude without clipping";
|
||||
}
|
||||
|
||||
getCategory(): ProcessorCategory {
|
||||
return 'Amplitude';
|
||||
}
|
||||
|
||||
async process(
|
||||
leftChannel: Float32Array,
|
||||
rightChannel: Float32Array
|
||||
|
||||
Reference in New Issue
Block a user