How it works
Engine sound is built from up to eight voices. Each voice has a default level of 0.8 and each layer may contribute at most 0.4, so the default sound budget is 0.32. A voice starts when its level rises above 0.02 and stops when it falls below 0.005, a hysteresis that prevents chatter, and a phase hold of 0.15 s stops a restart from clicking. Envelopes use an attack of 0.025 s and a release of 0.08 s, so power changes are heard promptly without a click. The turbine and dry gain ceilings are 0.17 and 0.27. Inside the cabin the sound is reduced by a factor of 0.596, which is 4.5 dB.
The supersonic pass is where the sound is most unusual. The model treats the Mach cone as the boundary of a listener's position behind the aircraft. A listener inside the aft cone, within the Mach angle of the exhaust axis, gets full engine roar; one outside it hears almost nothing. The Mach angle is the arcsine of one over Mach number, 19.5 degrees at Mach 3. The transition across the cone edge is a smooth step 4.6 degrees wide, 2.3 degrees each side, and the quiet side keeps a floor of 0.025. That produces a near-silent approach and then a full roar once the cone passes. Across Mach 0.98 to 1.08 the supersonic term is blended in smoothly so there is no pop at Mach 1. For an outside listener the supersonic pass plays a double arrival, then engine noise and a decaying wake. The public guide stresses this is a presentation for the observer and that the cockpit has no sonic-boom control or indicator.
Distance matters. The flyby code defines a near distance of 300 m and a far distance of 12,000 m for the pass; the exact attenuation curve between them was not read for this page. The 12-03 inventory also lists a 0.52965 s bow-to-tail boom interval and 3.000 s clip masters; neither figure was found in the source files read for this page, so they are not published here.
The engine clips are 48 kHz mono, 16-bit. If a clip arrives at a rate outside 8,000 to 384,000 Hz, the generator falls back to 48,000 Hz, and the rumble gain is scaled with the square root of the rate ratio, so a different rate sounds the same.
What is verified: the constants are read from the shipped source. No listening test or loudness measurement is cited and none of the sound has been checked in the game for this release.
Specification
- SimulatedThe value the mod uses in the game, read from its source.
- DerivedCalculated from other cited values; the working is shown.
| Field | Value | Unit | Basis | Source |
|---|---|---|---|---|
| Engine voices | ||||
| Simultaneous engine voices | 8 | count | Simulated | [1] |
| Default level | 0.8 | fraction | Simulated | [1] |
| Maximum gain of one layer | 0.4 | fraction | Simulated | [1] |
| Default budget | 0.32 | fraction | Derived | [1] D1 |
| Voice start threshold | 0.02 | fraction | Simulated | [1] |
| Voice stop threshold | 0.005 | fraction | Simulated | [1] |
| Phase hold | 0.15 | s | Simulated | [1] |
| Attack time | 0.025 | s | Simulated | [1] |
| Release time | 0.08 | s | Simulated | [1] |
| Gain ceiling, turbine | 0.17 | fraction | Simulated | [2] |
| Gain ceiling, dry | 0.27 | fraction | Simulated | [2] |
| Cabin insulation factor | 0.596 | gain | Simulated | [2] |
| Cabin insulation | -4.5 | dB | Derived | [2] D2 |
| Sonic cone | ||||
| Transonic blend begins | Mach 0.98 | Mach | Simulated | [3] |
| Transonic blend ends | Mach 1.08 | Mach | Derived | [3] D3 |
| Cone edge half-width | 0.040 | rad | Simulated | [3] |
| Cone edge half-width in degrees | 2.29 | ° | Derived | [3] D3 |
| Total edge width | 4.6 | ° | Derived | [3] D3 |
| Gain floor outside the cone | 0.025 | fraction | Simulated | [3] |
| Mach angle at Mach 3 | 19.5 | ° | Derived | [3] D3 |
| Flyby | ||||
| Near distance of the pass attenuation window | 300 | m | Simulated | [5] |
| Far distance of the pass attenuation window | 12,000 | m | Simulated | [5] |
| Clips | ||||
| Engine clip sample rate | 48,000 | Hz | Simulated | [4] |
| Engine clip channels | 1 | count | Simulated | [4] |
| Engine clip byte rate | 96,000 | B/s | Simulated | [4] |
| Engine clip sample size | 16 | bit | Derived | [4] D4 |
| Sample rate range accepted before falling back to 48,000 Hz | 8,000–384,000 | Hz | Simulated | [3] |
Derivations
How each derived value in the table is calculated, with its inputs and assumptions.
D1 budget
0.8 x 0.4 = 0.32 1.
D2 insulation
20 x log10(0.596) = -4.50 dB 2. The source comment states -4.5 dB.
D3 cone geometry
Edge half-width = 0.040 rad x 180 / pi = 2.29 degrees; total 4.58, about 4.6 degrees. Mach angle mu = asin(1 / M); for M = 3, mu = asin(0.3333) = 19.47 degrees. The blend ends at 0.98 + 0.10 = 1.08 (the divisor in the source is 0.10) 3.
D4 sample size
Byte rate 96,000 B/s / (48,000 samples/s x 1 channel) = 2 bytes per sample = 16 bit. The reader checks the byte rate, which implies the block alignment of 2 4.
References
Internal sources
Swampsoft design records and mod source files behind the in-game values.
- Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xEngineAudioMath.cs,StartThreshold,StopThreshold,PhaseHoldSeconds,AttackSeconds,ReleaseSeconds,VoiceCount,DefaultLevel,MaxLayerGain,DefaultBudget. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xFlyby.cs,Ba170xFlyby.TurbineCeiling,DryCeiling,Insulation. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xEngineAudioMath.cs, the supersonic cone gain function (halfEdgeRad,supGain, Mach blend) and the sample-rate fallback. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xEngineClips.cs, the WAV header check (48000,96000) andAudioClip.Create. - Mod sourceB/A-170X 0.22.9,
src/gameplay/Ba170xFlyby.cs,Ba170xFlyby.Near,Far.
