fix: normalize ambience loudness for v0.2.5
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
|
||||
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.5
|
||||
|
||||
❯ tests/audio.test.ts (13 tests | 2 failed | 11 skipped) 5032ms
|
||||
× 배경 PCM은 그대로 복사하고 voice/intro만 RMS .03을 유지한다 25ms
|
||||
× 배경의 과도 peak·NaN·무음은 소스 시작 전 거부하고 다시 시도할 수 있다 5006ms
|
||||
|
||||
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
|
||||
|
||||
FAIL tests/audio.test.ts > 배경 PCM은 그대로 복사하고 voice/intro만 RMS .03을 유지한다
|
||||
AssertionError: expected 0.03000000000094529 to be greater than 0.1
|
||||
❯ tests/audio.test.ts:329:59
|
||||
327| await flush();
|
||||
328| const energy = (data: Float32Array) => Math.sqrt(data.reduce((sum, x…
|
||||
329| expect(energy(f.sources[0]!.buffer!.getChannelData(0))).toBeGreaterT…
|
||||
| ^
|
||||
330| expect(energy(f.sources[1]!.buffer!.getChannelData(0))).toBeCloseTo(…
|
||||
331| expect(energy(f.sources[2]!.buffer!.getChannelData(0))).toBeCloseTo(…
|
||||
|
||||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
|
||||
|
||||
FAIL tests/audio.test.ts > 배경의 과도 peak·NaN·무음은 소스 시작 전 거부하고 다시 시도할 수 있다
|
||||
Error: Test timed out in 5000ms.
|
||||
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
|
||||
❯ tests/audio.test.ts:337:1
|
||||
335| });
|
||||
336|
|
||||
337| it("배경의 과도 peak·NaN·무음은 소스 시작 전 거부하고 다시 시도할 수 있다", async () => {
|
||||
| ^
|
||||
338| for (const sample of [0.9, NaN, 0]) {
|
||||
339| const f = fixture();
|
||||
|
||||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
|
||||
|
||||
|
||||
Test Files 1 failed (1)
|
||||
Tests 2 failed | 11 skipped (13)
|
||||
Start at 10:21:04
|
||||
Duration 5.91s (tests 87%, environment 10%, setup 2%, transform 1%)
|
||||
|
||||
Reference in New Issue
Block a user