Bubbles rising
Glass Break sound effect
glass-break.wav · 670 ms · -18.5 LUFS · One-shot · CC0
glass-breakworldLoop
Take 1/4Glass shatters
DUR 670 msPEAK -3.5 dBFSLOUDNESS -18.5 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for glass-break
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/world/glass-break_t1.wav"))
_sfx.add_stream(1, preload("res://audio/world/glass-break_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_glass_break() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for glass-break
using UnityEngine;
using UnityEngine.Audio;
public class GlassBreakTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign glass-break_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 PlayGlassBreak()
{
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 glass-break
preload() {
this.load.audio('glass-break', 'audio/world/glass-break.wav');
}
playGlassBreak() {
const now = this.time.now;
if (now - (this._lastGlassBreak ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastGlassBreak = now;
this.sound.play('glass-break', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for glass-break
const ctx = new AudioContext();
let glassBreakBuf = null;
export async function loadGlassBreak() {
const res = await fetch('/audio/world/glass-break.wav');
glassBreakBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playGlassBreak(pitchSemitones = 0) {
if (!glassBreakBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = glassBreakBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import glass-break.wav into Project -> Sounds, then run Audio -> Play "glass-break" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | glass-break |
|---|---|
| Category | World |
| Playback mode | One-shot |
| Duration | 0.670 s (670 ms) |
| Loudness (400 ms max) | -18.51 LUFS (target -17) |
| True peak / sample peak | -2.96 dBTP / -3.52 dBFS |
| Spectral centroid | 6569 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 | 670 ms | -18.51 LUFS | -2.96 dBTP | |
| Take 2 | 700 ms | -18.49 LUFS | -3.82 dBTP | |
| Take 3 | 670 ms | -18.11 LUFS | -1.87 dBTP | |
| Take 4 | 690 ms | -17.41 LUFS | -1.35 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | noise | Broadband | 1/0/30 ms | LP 11000Hz / HP 2500Hz | 1.00 |
| L2 | noise | Broadband | 1/0/30 ms | BP 1800Hz | 0.60 |
| L3 | noise | Broadband | 1/0/40 ms | BP 600Hz | 0.30 |
| L4 | modal | 2900 Hz | 1/0/150 ms | Bypass | 0.50 |
| L5 | modal | 3700 Hz | 1/0/120 ms | Bypass | 0.46 |
| L6 | modal | 4400 Hz | 1/0/100 ms | Bypass | 0.42 |
| L7 | modal | 3300 Hz | 1/0/130 ms | Bypass | 0.38 |
| L8 | modal | 5200 Hz | 1/0/90 ms | Bypass | 0.34 |
| L9 | modal | 4100 Hz | 1/0/110 ms | Bypass | 0.30 |
| L10 | modal | 6100 Hz | 1/0/80 ms | Bypass | 0.26 |
| L11 | noise | Broadband | 2/0/350 ms | LP 11000Hz / HP 4000Hz | 0.25 |
More world sound effects
All world SFXGust of wind
Generic body or crate falling
Throw something
Campfire crackle
Wooden crate smashes into planks