Bubbly tap, good for mobile
Click Hard sound effect
click-hard.wav · 30 ms · -19.9 LUFS · One-shot · CC0
click-harduiLoop
Take 1/4Firm mechanical click
DUR 30 msPEAK -1.5 dBFSLOUDNESS -19.9 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: UI# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for click-hard
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/ui/click-hard_t1.wav"))
_sfx.add_stream(1, preload("res://audio/ui/click-hard_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_click_hard() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for click-hard
using UnityEngine;
using UnityEngine.Audio;
public class ClickHardTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign click-hard_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 PlayClickHard()
{
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 click-hard
preload() {
this.load.audio('click-hard', 'audio/ui/click-hard.wav');
}
playClickHard() {
const now = this.time.now;
if (now - (this._lastClickHard ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastClickHard = now;
this.sound.play('click-hard', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for click-hard
const ctx = new AudioContext();
let clickHardBuf = null;
export async function loadClickHard() {
const res = await fetch('/audio/ui/click-hard.wav');
clickHardBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playClickHard(pitchSemitones = 0) {
if (!clickHardBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = clickHardBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import click-hard.wav into Project -> Sounds, then run Audio -> Play "click-hard" (not looping) on tag "ui".Acoustic specs & synthesis layers
| Identifier | click-hard |
|---|---|
| Category | UI |
| Playback mode | One-shot |
| Duration | 0.030 s (30 ms) |
| Loudness (400 ms max) | -19.95 LUFS (target -20) |
| True peak / sample peak | -1.42 dBTP / -1.47 dBFS |
| Spectral centroid | 3040 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 | 30 ms | -19.95 LUFS | -1.42 dBTP | |
| Take 2 | 30 ms | -20.13 LUFS | -1.55 dBTP | |
| Take 3 | 30 ms | -20.04 LUFS | -1.48 dBTP | |
| Take 4 | 30 ms | -19.91 LUFS | -2.08 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | sine | 2400 -> 1100 Hz | 1/4/18 ms | Bypass | 1.00 |
| L2 | noise | Broadband | 1/0/8 ms | BP 3500Hz | 0.50 |
| L3 | sine | 420 -> 260 Hz | 1/0/35 ms | Bypass | 0.50 |
More ui sound effects
All ui SFXFaint tick when the cursor enters a button
Switch on: two rising notes
Switch off: two falling notes
Bright major arpeggio, 'OK'
Soft descending 'back'