Two-tone bell notification
Deny sound effect
deny.wav · 120 ms · -20.1 LUFS · One-shot · CC0
denyuiLoop
Take 1/4Short dull thunk for disabled buttons
DUR 120 msPEAK -6.4 dBFSLOUDNESS -20.1 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: UI# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for deny
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/ui/deny_t1.wav"))
_sfx.add_stream(1, preload("res://audio/ui/deny_t2.wav"))
_sfx.random_pitch = 1.05
_sfx.random_volume_offset_db = 1.2
_player.bus = "UI"
_player.max_polyphony = 4
_player.stream = _sfx
add_child(_player)
func play_deny() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for deny
using UnityEngine;
using UnityEngine.Audio;
public class DenyTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign deny_t1..t4.wav
[SerializeField] private AudioMixerGroup mixerGroup; // Route to UI
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 PlayDeny()
{
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 deny
preload() {
this.load.audio('deny', 'audio/ui/deny.wav');
}
playDeny() {
const now = this.time.now;
if (now - (this._lastDeny ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastDeny = now;
this.sound.play('deny', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for deny
const ctx = new AudioContext();
let denyBuf = null;
export async function loadDeny() {
const res = await fetch('/audio/ui/deny.wav');
denyBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playDeny(pitchSemitones = 0) {
if (!denyBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = denyBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import deny.wav into Project -> Sounds, then run Audio -> Play "deny" (not looping) on tag "ui".Acoustic specs & synthesis layers
| Identifier | deny |
|---|---|
| Category | UI |
| Playback mode | One-shot |
| Duration | 0.120 s (120 ms) |
| Loudness (400 ms max) | -20.11 LUFS (target -20) |
| True peak / sample peak | -6.37 dBTP / -6.37 dBFS |
| Spectral centroid | 425 Hz |
| Synthesis FX | 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 | 120 ms | -20.11 LUFS | -6.37 dBTP | |
| Take 2 | 130 ms | -19.94 LUFS | -6.31 dBTP | |
| Take 3 | 120 ms | -20.07 LUFS | -6.27 dBTP | |
| Take 4 | 130 ms | -19.92 LUFS | -6.52 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | square | 120 -> 90 Hz | 2/0/120 ms | LP 700Hz | 1.00 |
| L2 | noise | Broadband | 1/0/30 ms | LP 1500Hz | 0.30 |
More ui sound effects
All ui SFXUpward pop, for things appearing
Downward pop, for things disappearing
Quick airy swipe between pages
Keyboard tick for text that types itself
Tiny tick for sliders and scroll steps