Keyboard tick for text that types itself
Swipe sound effect
swipe.wav · 140 ms · -20.3 LUFS · One-shot · CC0
swipeuiLoop
Take 1/4Quick airy swipe between pages
DUR 140 msPEAK -2.9 dBFSLOUDNESS -20.3 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: UI# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for swipe
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/ui/swipe_t1.wav"))
_sfx.add_stream(1, preload("res://audio/ui/swipe_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_swipe() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for swipe
using UnityEngine;
using UnityEngine.Audio;
public class SwipeTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign swipe_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 PlaySwipe()
{
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 swipe
preload() {
this.load.audio('swipe', 'audio/ui/swipe.wav');
}
playSwipe() {
const now = this.time.now;
if (now - (this._lastSwipe ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastSwipe = now;
this.sound.play('swipe', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for swipe
const ctx = new AudioContext();
let swipeBuf = null;
export async function loadSwipe() {
const res = await fetch('/audio/ui/swipe.wav');
swipeBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playSwipe(pitchSemitones = 0) {
if (!swipeBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = swipeBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import swipe.wav into Project -> Sounds, then run Audio -> Play "swipe" (not looping) on tag "ui".Acoustic specs & synthesis layers
| Identifier | swipe |
|---|---|
| Category | UI |
| Playback mode | One-shot |
| Duration | 0.140 s (140 ms) |
| Loudness (400 ms max) | -20.28 LUFS (target -20) |
| True peak / sample peak | -2.71 dBTP / -2.90 dBFS |
| Spectral centroid | 5160 Hz |
| Synthesis FX | Dry signal |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 140 ms | -20.28 LUFS | -2.71 dBTP | |
| Take 2 | 140 ms | -19.82 LUFS | -1.89 dBTP | |
| Take 3 | 140 ms | -20.02 LUFS | -3.35 dBTP | |
| Take 4 | 140 ms | -19.96 LUFS | -1.58 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | noise | Broadband | 40/0/100 ms | BP 1400->5200Hz | 1.00 |
| L2 | pink | Broadband | 40/0/80 ms | BP 700->2000Hz | 0.50 |
More ui sound effects
All ui SFXTiny tick for sliders and scroll steps
Menu or panel slides open
Menu or panel closes
Retro menu cursor move
Gentle cursor move for modern menus