B/A-170X Deathstar · Systems guide

Engine banks and flyby sound

The B/A-170X has six turbine outlets and two ramjet banks, and each has its own sound state. The sound is generated by the mod from engine state, not played from a single recording. The aircraft is fictional; the sound design is a presentation. No real aircraft noise measurement is cited here, and the open questions list that.

How it works

Reheat at the current nozzle build.
Reheat at the current nozzle build. r21 · Unity exhaust proof

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.
Engine banks and flyby sound specification
FieldValueUnitBasisSource
Engine voices
Simultaneous engine voices8countSimulated[1]
Default level0.8fractionSimulated[1]
Maximum gain of one layer0.4fractionSimulated[1]
Default budget0.32fractionDerived[1] D1
Voice start threshold0.02fractionSimulated[1]
Voice stop threshold0.005fractionSimulated[1]
Phase hold0.15sSimulated[1]
Attack time0.025sSimulated[1]
Release time0.08sSimulated[1]
Gain ceiling, turbine0.17fractionSimulated[2]
Gain ceiling, dry0.27fractionSimulated[2]
Cabin insulation factor0.596gainSimulated[2]
Cabin insulation-4.5dBDerived[2] D2
Sonic cone
Transonic blend beginsMach 0.98MachSimulated[3]
Transonic blend endsMach 1.08MachDerived[3] D3
Cone edge half-width0.040radSimulated[3]
Cone edge half-width in degrees2.29°Derived[3] D3
Total edge width4.6°Derived[3] D3
Gain floor outside the cone0.025fractionSimulated[3]
Mach angle at Mach 319.5°Derived[3] D3
Flyby
Near distance of the pass attenuation window300mSimulated[5]
Far distance of the pass attenuation window12,000mSimulated[5]
Clips
Engine clip sample rate48,000HzSimulated[4]
Engine clip channels1countSimulated[4]
Engine clip byte rate96,000B/sSimulated[4]
Engine clip sample size16bitDerived[4] D4
Sample rate range accepted before falling back to 48,000 Hz8,000–384,000HzSimulated[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.

  1. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xEngineAudioMath.cs, StartThreshold, StopThreshold, PhaseHoldSeconds, AttackSeconds, ReleaseSeconds, VoiceCount, DefaultLevel, MaxLayerGain, DefaultBudget.
  2. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xFlyby.cs, Ba170xFlyby.TurbineCeiling, DryCeiling, Insulation.
  3. 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.
  4. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xEngineClips.cs, the WAV header check (48000, 96000) and AudioClip.Create.
  5. Mod sourceB/A-170X 0.22.9, src/gameplay/Ba170xFlyby.cs, Ba170xFlyby.Near, Far.