Checks engine/RCS source mapping, spatial controls and thruster recording integrity.
Subsystem: Audio and physiological effects
Fixture/harness: vehiclesoundspatialtests
Setup: The standalone VehicleSoundSpatialTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/VehicleSoundSpatialTests.vcxproj; declared configurations: Debug|Win32, Release|Win32.
VehicleSoundSpatialTests.cpp
Source: Tests/VehicleSoundSpatialTests.cpp
Check Engine Sources
Fixture: Vehicle Sound Spatial tests
Case symbol: CheckEngineSources
Source: Tests/VehicleSoundSpatialTests.cpp:57
- Test
- Check Engine Sources: all three physics engines drive their correct audio channel; one- and two-engine layouts use the appropriate channels; invalid engine indexes have no channel.
Source check messages (including original failure wording)
-
all three physics engines drive their correct audio channel
-
one- and two-engine layouts use the appropriate channels
-
invalid engine indexes have no channel
-
all E-10/E-11 engine positions come from authored exterior geometry
-
different model labels resolve to physical left/center/right
-
cache uses engine centers rather than hull origin or exhaust tip
-
E-10 wing/above-engine camera retains close rocket level
-
engine pan agrees with where its geometry is drawn
-
left and right engines remain distinct stereo sources
-
shared bypass sound follows audible engines rather than the last engine in the loop
-
switching from rocket to unmarked car resets source positions, topology and level
-
car chase retains the quieter distance balance
-
car, jet and rocket have intentionally different exterior reference levels
-
powerful engines still fall off at long range
-
parent camera accounts for child engine orientation before measuring distance
-
engine-free cockpit retains no previous engine sources
Check Rcs Recording
Fixture: Vehicle Sound Spatial tests
Case symbol: CheckRcsRecording
Source: Tests/VehicleSoundSpatialTests.cpp:132
- Test
- Check Rcs Recording: normalization preserves the complete thruster loop length; thruster recording uses available headroom without clipping; normalized source with cockpit compensation retains original RMS level.
Source check messages (including original failure wording)
-
open normalized thruster recording
-
normalization preserves the complete thruster loop length
-
read complete normalized thruster recording
-
thruster recording uses available headroom without clipping
-
normalized source with cockpit compensation retains original RMS level
Check Rcs Sources
Fixture: Vehicle Sound Spatial tests
Case symbol: CheckRcsSources
Source: Tests/VehicleSoundSpatialTests.cpp:156
- Test
- Check Rcs Sources: F9 reaches full close level beneath the vehicle; dustoff retains rocket level out to 100m from the belly; dustoff falls off beyond its reference distance.
Source check messages (including original failure wording)
-
F9 reaches full close level beneath the vehicle
-
dustoff retains rocket level out to 100m from the belly
-
dustoff falls off beyond its reference distance
-
hull shields the lift exhaust from above
-
dustoff follows actual spool output
-
ground effect cannot overdrive dustoff
-
zero thrust has no exterior sound
-
F8 upper thrusters stay quieter at close range
-
lateral thrusters stay quieter at close range
-
fine longitudinal thrusters stay quieter at close range
-
combined maneuvering jets retain short range instead of inheriting dustoff range
-
maneuvering during dustoff neither dilutes nor overdrives the lift sound
-
looking around preserves dustoff loudness
-
dustoff stereo follows the underside source on screen
-
looking behind reverses dustoff stereo direction
-
parent camera rotates both the belly source and exhaust direction
-
invalid thrust cannot make an exterior sound
-
invalid camera cannot make a loud thruster
-
vehicle without lift thrusters cannot retain dustoff sound
Entry-point checks
Fixture: Vehicle Sound Spatial tests
Case symbol: main
Source: Tests/VehicleSoundSpatialTests.cpp:213
- Test
- Entry-point checks: generic hull falloff reproduces the quiet Mammoth horn; Mammoth trailing camera retains full horn level above the cockpit's 75 percent mix; Mammoth horn level correction preserves stereo direction.
Source check messages (including original failure wording)
-
generic hull falloff reproduces the quiet Mammoth horn
-
Mammoth trailing camera retains full horn level above the cockpit's 75 percent mix
-
Mammoth horn level correction preserves stereo direction
-
Mammoth horn still falls off at distances beyond its camera
-
coincident camera is finite and centered
-
close mount retains source level
-
ten metres halves source amplitude
-
doubling distance halves amplitude again
-
distant hull becomes quiet
-
C-2 chase level is about 29 percent of close level
-
C-2A chase level is about 37 percent of close level
-
chase cameras keep vehicle sound near center
-
looking around never changes source distance
-
stereo side matches the actual flipped projection across pan, tilt, roll and zoom
-
vehicle at screen right pans right
-
vehicle at screen left pans left
-
overhead source stays centered
-
rear source retains valid stereo pan
-
parent mount measures distance and bearing to the child hull
-
invalid position cannot produce a loud channel
-
invalid orientation cannot produce a loud channel