Working on processors a tiny bit

This commit is contained in:
2025-10-13 18:09:47 +02:00
parent 65a1e16781
commit 6116745795
48 changed files with 1138 additions and 174 deletions

View File

@ -1,4 +1,4 @@
import type { AudioProcessor } from './AudioProcessor';
import type { AudioProcessor, ProcessorCategory } from './AudioProcessor';
type RoomType = 'small' | 'medium' | 'large' | 'hall' | 'plate' | 'chamber';
@ -22,6 +22,10 @@ export class ConvolutionReverb implements AudioProcessor {
return 'Realistic room ambience using Web Audio ConvolverNode with synthetic impulse responses';
}
getCategory(): ProcessorCategory {
return 'Space';
}
async process(
leftChannel: Float32Array,
rightChannel: Float32Array