diff --git a/src/mixer/audio.ts b/src/mixer/audio.ts index 823d57f..b9105de 100644 --- a/src/mixer/audio.ts +++ b/src/mixer/audio.ts @@ -311,7 +311,7 @@ export class AudioEngine extends ((EngineEmitter as unknown) as { for (let i = 0; i < this.analysisBuffer.length; i++) { peak = Math.max(peak, Math.abs(this.analysisBuffer[i])); } - return 10 * Math.log10(peak); + return 20 * Math.log10(peak); } async playNewsEnd() {