resources/assets/js/services/audioService.ts
Function init
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init (mediaElement: HTMLMediaElement) {
this.element = mediaElement
this.context = new AudioContext()
this.preampGainNode = this.context.createGain()