Key pickup: metal jingle and a chime
XP Orb sound effect
xp-orb.wav · 430 ms · -16.2 LUFS · One-shot · CC0
xp-orbpickupLoop
Take 1/4Experience orb, small and bright
DUR 430 msPEAK -1.5 dBFSLOUDNESS -16.2 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for xp-orb
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/pickup/xp-orb_t1.wav"))
_sfx.add_stream(1, preload("res://audio/pickup/xp-orb_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_xp_orb() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for xp-orb
using UnityEngine;
using UnityEngine.Audio;
public class XpOrbTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign xp-orb_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 PlayXpOrb()
{
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 xp-orb
preload() {
this.load.audio('xp-orb', 'audio/pickup/xp-orb.wav');
}
playXpOrb() {
const now = this.time.now;
if (now - (this._lastXpOrb ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastXpOrb = now;
this.sound.play('xp-orb', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for xp-orb
const ctx = new AudioContext();
let xpOrbBuf = null;
export async function loadXpOrb() {
const res = await fetch('/audio/pickup/xp-orb.wav');
xpOrbBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playXpOrb(pitchSemitones = 0) {
if (!xpOrbBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = xpOrbBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import xp-orb.wav into Project -> Sounds, then run Audio -> Play "xp-orb" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | xp-orb |
|---|---|
| Category | Pickups |
| Playback mode | One-shot |
| Duration | 0.430 s (430 ms) |
| Loudness (400 ms max) | -16.24 LUFS (target -16) |
| True peak / sample peak | -1.48 dBTP / -1.51 dBFS |
| Spectral centroid | 1920 Hz |
| Synthesis FX | Echo |
| 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 | -16.24 LUFS | -1.48 dBTP | |
| Take 2 | 430 ms | -16.28 LUFS | -1.50 dBTP | |
| Take 3 | 430 ms | -16.40 LUFS | -1.49 dBTP | |
| Take 4 | 430 ms | -15.77 LUFS | -1.51 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | sine | 1250 -> 2500 Hz | 1/0/90 ms | Bypass | 1.00 |
More pickups sound effects
All pickups SFXHealth pickup, warm and friendly
Ammo or clip pickup: metallic clack
Cash register for shops and purchases
Collect a star: sparkling run upward
Fast ring pickup, two-note bright chime