Rocket launch whoosh
Gunshot sound effect
gunshot.wav · 730 ms · -18.5 LUFS · One-shot · CC0
gunshotshootLoop
Take 1/4Pistol shot with room tail
DUR 730 msPEAK -1.5 dBFSLOUDNESS -18.5 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for gunshot
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/shoot/gunshot_t1.wav"))
_sfx.add_stream(1, preload("res://audio/shoot/gunshot_t2.wav"))
_sfx.random_pitch = 1.05
_sfx.random_volume_offset_db = 1.2
_player.bus = "SFX"
_player.max_polyphony = 4
_player.stream = _sfx
add_child(_player)
func play_gunshot() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for gunshot
using UnityEngine;
using UnityEngine.Audio;
public class GunshotTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign gunshot_t1..t4.wav
[SerializeField] private AudioMixerGroup mixerGroup; // Route to SFX
private AudioSource[] _pool;
private int _cursor;
private void Awake()
{
_pool = new AudioSource[4];
for (int i = 0; i < _pool.Length; i++)
{
_pool[i] = gameObject.AddComponent<AudioSource>();
_pool[i].playOnAwake = false;
_pool[i].outputAudioMixerGroup = mixerGroup;
}
}
public void PlayGunshot()
{
if (takes == null || takes.Length == 0) return;
AudioSource src = _pool[_cursor++ % _pool.Length];
src.pitch = Random.Range(0.96f, 1.04f);
src.PlayOneShot(takes[Random.Range(0, takes.Length)], 0.9f);
}
}// Phaser 3 (JS) — Rate-limited one-shot with detune variance for gunshot
preload() {
this.load.audio('gunshot', 'audio/shoot/gunshot.wav');
}
playGunshot() {
const now = this.time.now;
if (now - (this._lastGunshot ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastGunshot = now;
this.sound.play('gunshot', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for gunshot
const ctx = new AudioContext();
let gunshotBuf = null;
export async function loadGunshot() {
const res = await fetch('/audio/shoot/gunshot.wav');
gunshotBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playGunshot(pitchSemitones = 0) {
if (!gunshotBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = gunshotBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import gunshot.wav into Project -> Sounds, then run Audio -> Play "gunshot" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | gunshot |
|---|---|
| Category | Shots & lasers |
| Playback mode | One-shot |
| Duration | 0.730 s (730 ms) |
| Loudness (400 ms max) | -18.50 LUFS (target -16) |
| True peak / sample peak | -1.07 dBTP / -1.51 dBFS |
| Spectral centroid | 4252 Hz |
| Synthesis FX | Reverb, Drive |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 730 ms | -18.50 LUFS | -1.07 dBTP | |
| Take 2 | 730 ms | -18.89 LUFS | -1.06 dBTP | |
| Take 3 | 740 ms | -18.30 LUFS | -1.11 dBTP | |
| Take 4 | 740 ms | -18.81 LUFS | -1.11 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | noise | Broadband | 1/0/20 ms | BP 2500Hz | 0.60 |
| L2 | noise | Broadband | 1/0/100 ms | BP 1100Hz | 1.00 |
| L3 | noise | Broadband | 1/0/180 ms | LP 7000->1200Hz / HP 150Hz | 1.00 |
| L4 | sine | 180 -> 80 Hz | 1/0/100 ms | Bypass | 0.50 |
| L5 | pink | Broadband | 1/0/220 ms | BP 1400Hz | 0.30 |
More shots & lasers sound effects
All shots & lasers SFXBullet ricochet: sharp tick and a falling whine
Empty gun: the hammer clicks, nothing fires
Reload: two metal clicks
Bowstring released
Automatic burst, five rounds