OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: line 133: The provided value 'invalid' is not a valid enum valu
e of type PanningModelType. | |
2 CONSOLE WARNING: line 143: The provided value '1' is not a valid enum value of t
ype PanningModelType. | |
3 CONSOLE WARNING: line 173: The provided value 'invalid' is not a valid enum valu
e of type DistanceModelType. | |
4 Basic tests for PannerNode. | |
5 | |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
7 | |
8 | |
9 PASS panner.numberOfInputs is equal to 1. | |
10 PASS panner.numberOfOutputs is equal to 1. | |
11 PASS panner.refDistance is equal to 1. | |
12 PASS panner.refDistance = 270.5 is equal to 270.5. | |
13 PASS panner.maxDistance is equal to 10000. | |
14 PASS panner.maxDistance = 100.5 is equal to 100.5. | |
15 PASS panner.rolloffFactor is equal to 1. | |
16 PASS panner.rolloffFactor = 0.75 is equal to 0.75. | |
17 PASS panner.coneInnerAngle is equal to 360. | |
18 PASS panner.coneInnerAngle = 240.5 is equal to 240.5. | |
19 PASS panner.coneOuterAngle is equal to 360. | |
20 PASS panner.coneOuterAngle = 166.5 is equal to 166.5. | |
21 PASS panner.coneOuterGain is equal to 0. | |
22 PASS panner.coneOuterGain = 0.25 is equal to 0.25. | |
23 PASS panner.panningModel is equal to "equalpower". | |
24 PASS panner.distanceModel is equal to "inverse". | |
25 PASS panner.positionX is equal to 0. | |
26 PASS panner.positionY is equal to 0. | |
27 PASS panner.positionZ is equal to 0. | |
28 PASS panner.orientationX is equal to 1. | |
29 PASS panner.orientationY is equal to 0. | |
30 PASS panner.orientationZ is equal to 0. | |
31 PASS Basic Panner attribute tests. | |
32 | |
33 PASS listener.positionX is equal to 0. | |
34 PASS listener.positionY is equal to 0. | |
35 PASS listener.positionZ is equal to 0. | |
36 PASS listener.forwardX is equal to 0. | |
37 PASS listener.forwardY is equal to 0. | |
38 PASS listener.forwardZ is equal to -1. | |
39 PASS listener.upX is equal to 0. | |
40 PASS listener.upY is equal to 1. | |
41 PASS listener.upZ is equal to 0. | |
42 PASS Basic AudioListener attribute tests. | |
43 | |
44 PASS panner.panningModel = "equalpower" did not throw an exception. | |
45 PASS panner.panningModel = "equalpower" is equal to "equalpower". | |
46 PASS panner.panningModel = "HRTF" did not throw an exception. | |
47 PASS panner.panningModel = "HRTF" is equal to "HRTF". | |
48 PASS panner.panningModel = "invalid" did not throw an exception. | |
49 PASS panner.panningModel is equal to "HRTF". | |
50 PASS panner.panningModel = 1 did not throw an exception. | |
51 PASS panner.panningModel is equal to "HRTF". | |
52 PASS Basic Panner panning models tests. | |
53 | |
54 PASS panner.distanceModel = "linear" did not throw an exception. | |
55 PASS panner.distanceModel = "linear" is equal to "linear". | |
56 PASS panner.distanceModel = "inverse" did not throw an exception. | |
57 PASS panner.distanceModel = "inverse" is equal to "inverse". | |
58 PASS panner.distanceModel = "exponential" did not throw an exception. | |
59 PASS panner.distanceModel = "exponential" is equal to "exponential". | |
60 PASS panner.distanceModel = "invalid" did not throw an exception. | |
61 PASS panner.distanceModel is equal to "exponential". | |
62 PASS Basic Panner distance models tests. | |
63 | |
64 PASS successfullyParsed is true | |
65 | |
66 TEST COMPLETE | |
67 | |
OLD | NEW |