modularity
This commit is contained in:
11
src/domain/audio/effects/Effect.interface.ts
Normal file
11
src/domain/audio/effects/Effect.interface.ts
Normal file
@ -0,0 +1,11 @@
|
||||
export interface Effect {
|
||||
readonly id: string
|
||||
getInputNode(): AudioNode
|
||||
getOutputNode(): AudioNode
|
||||
updateParams(values: Record<string, number>): void
|
||||
dispose(): void
|
||||
}
|
||||
|
||||
export interface EffectFactory {
|
||||
create(audioContext: AudioContext): Effect
|
||||
}
|
||||
Reference in New Issue
Block a user