Wooden crate smashes into planks
Metal Clang sound effect
metal-clang.wav · 980 ms · -16.4 LUFS · One-shot · CC0
metal-clangworldLoop
Take 1/4Metal object or pipe hits the floor
DUR 980 msPEAK -1.5 dBFSLOUDNESS -16.4 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for metal-clang
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/world/metal-clang_t1.wav"))
_sfx.add_stream(1, preload("res://audio/world/metal-clang_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_metal_clang() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for metal-clang
using UnityEngine;
using UnityEngine.Audio;
public class MetalClangTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign metal-clang_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 PlayMetalClang()
{
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 metal-clang
preload() {
this.load.audio('metal-clang', 'audio/world/metal-clang.wav');
}
playMetalClang() {
const now = this.time.now;
if (now - (this._lastMetalClang ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastMetalClang = now;
this.sound.play('metal-clang', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for metal-clang
const ctx = new AudioContext();
let metalClangBuf = null;
export async function loadMetalClang() {
const res = await fetch('/audio/world/metal-clang.wav');
metalClangBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playMetalClang(pitchSemitones = 0) {
if (!metalClangBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = metalClangBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import metal-clang.wav into Project -> Sounds, then run Audio -> Play "metal-clang" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | metal-clang |
|---|---|
| Category | World |
| Playback mode | One-shot |
| Duration | 0.980 s (980 ms) |
| Loudness (400 ms max) | -16.38 LUFS (target -17) |
| True peak / sample peak | -1.47 dBTP / -1.51 dBFS |
| Spectral centroid | 1484 Hz |
| Synthesis FX | Reverb |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 980 ms | -16.38 LUFS | -1.47 dBTP | |
| Take 2 | 880 ms | -19.16 LUFS | -1.64 dBTP | |
| Take 3 | 880 ms | -16.09 LUFS | -1.45 dBTP | |
| Take 4 | 890 ms | -16.53 LUFS | -1.46 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | noise | Broadband | 1/0/15 ms | BP 3000Hz | 0.60 |
| L2 | modal | 620 Hz | 1/0/700 ms | Bypass | 1.00 |
| L3 | metal | 500 Hz | 1/0/300 ms | BP 2000Hz | 0.40 |
| L4 | modal | 640 Hz | 1/0/400 ms | Bypass | 0.35 |
More world sound effects
All world SFXClay pot shatters (Zelda pots)
Rocks and rubble crumble down
Torch or fire ignites: whoomph
Engine idling, seamless loop (play with rate for revs)
Force field or reactor hum, seamless loop