Equip gear: leather and buckle
Coin Bag sound effect
coin-bag.wav · 740 ms · -16.8 LUFS · One-shot · CC0
coin-bagpickupLoop
Take 1/4A handful of coins, a small payout
DUR 740 msPEAK -3.0 dBFSLOUDNESS -16.8 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for coin-bag
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/pickup/coin-bag_t1.wav"))
_sfx.add_stream(1, preload("res://audio/pickup/coin-bag_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_bag() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for coin-bag
using UnityEngine;
using UnityEngine.Audio;
public class CoinBagTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign coin-bag_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 PlayCoinBag()
{
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-bag
preload() {
this.load.audio('coin-bag', 'audio/pickup/coin-bag.wav');
}
playCoinBag() {
const now = this.time.now;
if (now - (this._lastCoinBag ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastCoinBag = now;
this.sound.play('coin-bag', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for coin-bag
const ctx = new AudioContext();
let coinBagBuf = null;
export async function loadCoinBag() {
const res = await fetch('/audio/pickup/coin-bag.wav');
coinBagBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playCoinBag(pitchSemitones = 0) {
if (!coinBagBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = coinBagBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import coin-bag.wav into Project -> Sounds, then run Audio -> Play "coin-bag" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | coin-bag |
|---|---|
| Category | Pickups |
| Playback mode | One-shot |
| Duration | 0.740 s (740 ms) |
| Loudness (400 ms max) | -16.77 LUFS (target -16) |
| True peak / sample peak | -3.04 dBTP / -3.04 dBFS |
| Spectral centroid | 4587 Hz |
| Synthesis FX | Reverb, 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 | 740 ms | -16.77 LUFS | -3.04 dBTP | |
| Take 2 | 770 ms | -17.42 LUFS | -4.28 dBTP | |
| Take 3 | 750 ms | -15.78 LUFS | -2.50 dBTP | |
| Take 4 | 720 ms | -16.00 LUFS | -1.20 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | modal | 2600 Hz | 1/0/160 ms | Bypass | 0.80 |
| L2 | modal | 3100 Hz | 1/0/180 ms | Bypass | 0.74 |
| L3 | modal | 2800 Hz | 1/0/200 ms | Bypass | 0.68 |
| L4 | modal | 3500 Hz | 1/0/220 ms | Bypass | 0.62 |
| L5 | modal | 2950 Hz | 1/0/240 ms | Bypass | 0.56 |
| L6 | modal | 3300 Hz | 1/0/260 ms | Bypass | 0.50 |
| L7 | pink | Broadband | 10/0/300 ms | BP 1500Hz | 0.30 |
| L8 | pink | Broadband | 2/0/60 ms | LP 600Hz | 0.50 |
More pickups sound effects
All pickups SFXThe classic two-note coin, with a little shimmer
Rounder coin for cosy games
Two coins in quick succession
Glassy bell for gems and crystals
Generic item pickup, quick rising notes