Treasure chest creaks open
Door Open sound effect
door-open.wav · 1420 ms · -17.8 LUFS · One-shot · CC0
door-openmechanicLoop
Take 1/4Creaky wooden door opening
DUR 1420 msPEAK -1.5 dBFSLOUDNESS -17.8 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for door-open
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/mechanic/door-open_t1.wav"))
_sfx.add_stream(1, preload("res://audio/mechanic/door-open_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_door_open() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for door-open
using UnityEngine;
using UnityEngine.Audio;
public class DoorOpenTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign door-open_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 PlayDoorOpen()
{
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 door-open
preload() {
this.load.audio('door-open', 'audio/mechanic/door-open.wav');
}
playDoorOpen() {
const now = this.time.now;
if (now - (this._lastDoorOpen ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastDoorOpen = now;
this.sound.play('door-open', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for door-open
const ctx = new AudioContext();
let doorOpenBuf = null;
export async function loadDoorOpen() {
const res = await fetch('/audio/mechanic/door-open.wav');
doorOpenBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playDoorOpen(pitchSemitones = 0) {
if (!doorOpenBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = doorOpenBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import door-open.wav into Project -> Sounds, then run Audio -> Play "door-open" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | door-open |
|---|---|
| Category | Doors & mechanics |
| Playback mode | One-shot |
| Duration | 1.420 s (1420 ms) |
| Loudness (400 ms max) | -17.77 LUFS (target -17) |
| True peak / sample peak | -1.47 dBTP / -1.51 dBFS |
| Spectral centroid | 1606 Hz |
| Synthesis FX | Reverb, Formant |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 1420 ms | -17.77 LUFS | -1.47 dBTP | |
| Take 2 | 1450 ms | -17.85 LUFS | -1.47 dBTP | |
| Take 3 | 1480 ms | -17.02 LUFS | -1.47 dBTP | |
| Take 4 | 1430 ms | -17.55 LUFS | -1.46 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | noise | Broadband | 1/0/8 ms | BP 2500Hz | 0.30 |
| L2 | modal | 1700 Hz | 1/0/60 ms | Bypass | 0.15 |
| L3 | saw | 26 -> 40 Hz | 120/350/300 ms | Fmt [620,1150,2300] | 1.00 |
| L4 | saw | 33 -> 24 Hz | 100/250/300 ms | Fmt [450,900,1750] | 0.60 |
More doors & mechanics sound effects
All doors & mechanics SFXPull a lever: clunk
Press a mechanical floor button
Gear or crank turning
Machine starts up and hums
Door shuts with a thud