- Create audio-worklet.js with MicrophoneProcessor for audio capture - Implement noise gate and RMS calculation in worklet - Send PCM data via MessagePort to main thread - Update startStreaming to use AudioWorkletNode instead of deprecated ScriptProcessorNode - Remove WebCodecs decoder complexity from listen - Keep simple PCM playback for listen feature
19 KiB
19 KiB