fix(anki): lower audio normalization target to -23 LUFS (EBU R128)

This commit is contained in:
2026-07-05 01:13:54 -07:00
parent 36a3704815
commit 73af1451b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ test('generateAudio normalizes sentence audio by default', async () => {
await generator.generateAudio('/video.mp4', 10, 12);
const args = readFfmpegArgs(argsPath);
assert.equal(args[args.indexOf('-af') + 1], 'loudnorm=I=-18:TP=-1.5:LRA=11');
assert.equal(args[args.indexOf('-af') + 1], 'loudnorm=I=-23:TP=-2:LRA=11');
});
});
+1 -1
View File
@@ -24,7 +24,7 @@ import { createLogger } from './logger';
import { normalizeMediaInput, type MediaInput } from './media-input';
const log = createLogger('media');
const AUDIO_NORMALIZATION_FILTER = 'loudnorm=I=-18:TP=-1.5:LRA=11';
const AUDIO_NORMALIZATION_FILTER = 'loudnorm=I=-23:TP=-2:LRA=11';
export type { MediaInput, MediaInputOptions } from './media-input';