boltFIREARMS
GunShot
Procedural firearm synthesis. From pistols to ballistics, with physically-informed transient modelling.
Key Features
bolt
4-layer Additive Chain
Primer, snap, blast, and thump layers combine for realistic firearm synthesis.
science
Wavefolder Gas Simulation
Non-linear wavefolder simulates the gas dynamics of a firearm discharge.
ballot
Ballistics Math
Mach cone calculation and Friedlander waveform for physically-accurate ballistic sounds.
casino
Per-shot PRNG Randomization
Pseudo-random number generator ensures every shot sounds unique — no repetition.
tune
Weapon-type Parameters
Control calibre, barrel length, and firing mode for realistic weapon variation.
Quick Start
// Fire a procedural gunshot
var engine = GetComponent<GunShotEngine>();
engine.SetWeaponType(WeaponType.Pistol9mm);
engine.SetBarrelLength(0.15f);
engine.Fire(); // Procedurally generatedWhy GunShot?
Replace hundreds of gunshot samples with one procedural engine. Every shot is unique — calibre, barrel length, and firing mode are all controllable parameters. No sample libraries, no repetition.
Technical Details
Architecture & Performance
- 4-layer additive chain: primer, snap, blast, thump
- Non-linear wavefolder for gas dynamics simulation
- Mach cone and Friedlander waveform ballistics math
- Per-shot PRNG randomization for unique sounds
- Configurable weapon parameters: calibre, barrel length, firing mode
- Shares Core lock-free command queue and voice management