Voice chat: Incoming audio normalization

(#4170) Feature Open: Under consideration voice

Thread

Comment by dom
dom 2 votes
compressor/leveler is the move here imo.
leveler.threshold.setValueAtTime(-24, audioCtx.currentTime);
leveler.knee.setValueAtTime(30, audioCtx.currentTime);
leveler.ratio.setValueAtTime(12, audioCtx.currentTime); 
leveler.attack.setValueAtTime(0.003, audioCtx.currentTime);
leveler.release.setValueAtTime(0.25, audioCtx.currentTime);