Deal a card across the table: swish and slap
Dice Roll sound effect
dice-roll.wav · 430 ms · -19.0 LUFS · One-shot · CC0
dice-rollcardLoop
Take 1/4Dice tumble across a table and settle
DUR 430 msPEAK -1.5 dBFSLOUDNESS -19.0 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for dice-roll
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/card/dice-roll_t1.wav"))
_sfx.add_stream(1, preload("res://audio/card/dice-roll_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_dice_roll() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for dice-roll
using UnityEngine;
using UnityEngine.Audio;
public class DiceRollTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign dice-roll_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 PlayDiceRoll()
{
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 dice-roll
preload() {
this.load.audio('dice-roll', 'audio/card/dice-roll.wav');
}
playDiceRoll() {
const now = this.time.now;
if (now - (this._lastDiceRoll ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastDiceRoll = now;
this.sound.play('dice-roll', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for dice-roll
const ctx = new AudioContext();
let diceRollBuf = null;
export async function loadDiceRoll() {
const res = await fetch('/audio/card/dice-roll.wav');
diceRollBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playDiceRoll(pitchSemitones = 0) {
if (!diceRollBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = diceRollBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import dice-roll.wav into Project -> Sounds, then run Audio -> Play "dice-roll" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | dice-roll |
|---|---|
| Category | Cards & casino |
| Playback mode | One-shot |
| Duration | 0.430 s (430 ms) |
| Loudness (400 ms max) | -19.04 LUFS (target -18) |
| True peak / sample peak | -1.43 dBTP / -1.51 dBFS |
| Spectral centroid | 2558 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 | 430 ms | -19.04 LUFS | -1.43 dBTP | |
| Take 2 | 430 ms | -19.60 LUFS | -1.46 dBTP | |
| Take 3 | 440 ms | -18.89 LUFS | -1.28 dBTP | |
| Take 4 | 440 ms | -19.06 LUFS | -1.37 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | modal | 900 Hz | 1/0/50 ms | Bypass | 1.00 |
| L2 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.40 |
| L3 | modal | 1080 Hz | 1/0/50 ms | Bypass | 0.90 |
| L4 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.36 |
| L5 | modal | 1260 Hz | 1/0/50 ms | Bypass | 0.80 |
| L6 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.32 |
| L7 | modal | 900 Hz | 1/0/50 ms | Bypass | 0.70 |
| L8 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.28 |
| L9 | modal | 1080 Hz | 1/0/50 ms | Bypass | 0.60 |
| L10 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.24 |
| L11 | modal | 1260 Hz | 1/0/50 ms | Bypass | 0.50 |
| L12 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.20 |
| L13 | modal | 900 Hz | 1/0/50 ms | Bypass | 0.40 |
| L14 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.16 |
| L15 | modal | 1080 Hz | 1/0/50 ms | Bypass | 0.30 |
| L16 | noise | Broadband | 1/0/6 ms | BP 3000Hz | 0.12 |
More cards & casino sound effects
All cards & casino SFXLay a card down on felt
Riffle shuffle: a fast burst of card ticks
Poker chips clack onto a stack
Slot reels spinning: fast ratchet ticks
A reel locks into place: clunk and ding