48 lines
2.1 KiB
Plaintext
48 lines
2.1 KiB
Plaintext
|
||
RUN v5.0.4 /home/hermes/worktrees/find-word-v0.2.3
|
||
|
||
❯ tests/dsp.test.ts (4 tests | 2 failed) 13ms
|
||
❯ 상대 dB와 결정론적 배경 합성 (4)
|
||
× 여덟 환경은 고유 same-origin WAV이며 절차적 합성 매개변수를 갖지 않는다 6ms
|
||
× 피크가 큰 녹음도 공통 감쇠로 합성 peak 0.8을 넘지 않고 SNR 비율을 보존한다 1ms
|
||
|
||
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯
|
||
|
||
FAIL tests/dsp.test.ts > 상대 dB와 결정론적 배경 합성 > 여덟 환경은 고유 same-origin WAV이며 절차적 합성 매개변수를 갖지 않는다
|
||
AssertionError: expected 1 to be 8 // Object.is equality
|
||
|
||
- Expected
|
||
+ Received
|
||
|
||
- 8
|
||
+ 1
|
||
|
||
❯ tests/dsp.test.ts:23:61
|
||
21| });
|
||
22| it("여덟 환경은 고유 same-origin WAV이며 절차적 합성 매개변수를 갖지 않는다", () => {
|
||
23| expect(new Set(ENVIRONMENTS.map(e => e.audioUrl)).size).toBe(8);
|
||
| ^
|
||
24| for (const environment of ENVIRONMENTS) {
|
||
25| const url = new URL(environment.audioUrl, "http://localhost");
|
||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯
|
||
|
||
FAIL tests/dsp.test.ts > 상대 dB와 결정론적 배경 합성 > 피크가 큰 녹음도 공통 감쇠로 합성 peak 0.8을 넘지 않고 SNR 비율을 보존한다
|
||
TypeError: mixingGains is not a function
|
||
❯ tests/dsp.test.ts:35:21
|
||
33| const background = normalizeRms(new Float32Array([0.2, -0.2]), 0.0…
|
||
34| for (const db of [-12, -6, 0, 6, 12]) {
|
||
35| const gains = mixingGains(voice, background, voice, db);
|
||
| ^
|
||
36| expect(20 * Math.log10(gains.voice / gains.background)).toBeClos…
|
||
37| expect(Math.max(...voice) * (gains.voice + gains.intro) + 0.03 *…
|
||
|
||
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯
|
||
|
||
|
||
Test Files 1 failed (1)
|
||
Tests 2 failed | 2 passed (4)
|
||
Start at 07:59:47
|
||
Duration 849ms (environment 78%, setup 14%, transform 5%, tests 2%, worker 1%, import 1%)
|
||
|