Drink a potion: three glugs and a sigh of sparkle
Coin sound effect
coin.wav · 660 ms · -16.1 LUFS · One-shot · CC0
coinpickupLoop
Take 1/4The classic two-note coin, with a little shimmer
DUR 660 msPEAK -5.4 dBFSLOUDNESS -16.1 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for coin
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/pickup/coin_t1.wav"))
_sfx.add_stream(1, preload("res://audio/pickup/coin_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_coin() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for coin
using UnityEngine;
using UnityEngine.Audio;
public class CoinTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign coin_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 PlayCoin()
{
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 coin
preload() {
this.load.audio('coin', 'audio/pickup/coin.wav');
}
playCoin() {
const now = this.time.now;
if (now - (this._lastCoin ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastCoin = now;
this.sound.play('coin', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for coin
const ctx = new AudioContext();
let coinBuf = null;
export async function loadCoin() {
const res = await fetch('/audio/pickup/coin.wav');
coinBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playCoin(pitchSemitones = 0) {
if (!coinBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = coinBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import coin.wav into Project -> Sounds, then run Audio -> Play "coin" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | coin |
|---|---|
| Category | Pickups |
| Playback mode | One-shot |
| Duration | 0.660 s (660 ms) |
| Loudness (400 ms max) | -16.13 LUFS (target -16) |
| True peak / sample peak | -5.36 dBTP / -5.36 dBFS |
| Spectral centroid | 2907 Hz |
| Synthesis FX | Reverb, Arp |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 660 ms | -16.13 LUFS | -5.36 dBTP | |
| Take 2 | 690 ms | -15.70 LUFS | -4.73 dBTP | |
| Take 3 | 750 ms | -16.07 LUFS | -5.52 dBTP | |
| Take 4 | 720 ms | -16.05 LUFS | -5.33 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | square | 988 Hz | 1/50/300 ms | LP 7000Hz | 1.00 |
| L2 | sine | 1976 Hz | 1/0/220 ms | Bypass | 0.50 |
More pickups sound effects
All pickups SFXEat food: two crunchy bites
Rare loot drops: shimmering beam and a chord
Equip gear: leather and buckle
Rounder coin for cosy games
Two coins in quick succession