Lightning strike: crack and rumble
Harp sound effect
harp.wav · 1600 ms · -15.7 LUFS · One-shot · CC0
harpmagicLoop
Take 1/4Harp glissando up, for wishes and revelations
DUR 1600 msPEAK -2.8 dBFSLOUDNESS -15.7 LUFSPCM 44.1 kHz / 16-bit
Take
Engine integration code
Bus: SFX# Godot 4 (GDScript) — Multi-take AudioStreamRandomizer for harp
extends Node
var _sfx := AudioStreamRandomizer.new()
@onready var _player := AudioStreamPlayer.new()
func _ready() -> void:
_sfx.add_stream(0, preload("res://audio/magic/harp_t1.wav"))
_sfx.add_stream(1, preload("res://audio/magic/harp_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_harp() -> void:
_player.play()// Unity (C#) — Pooled pitch-jittered one-shot playback for harp
using UnityEngine;
using UnityEngine.Audio;
public class HarpTrigger : MonoBehaviour
{
[SerializeField] private AudioClip[] takes; // Assign harp_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 PlayHarp()
{
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 harp
preload() {
this.load.audio('harp', 'audio/magic/harp.wav');
}
playHarp() {
const now = this.time.now;
if (now - (this._lastHarp ?? 0) < 35) return; // 35ms anti-stack cooldown
this._lastHarp = now;
this.sound.play('harp', {
volume: 0.85,
detune: Phaser.Math.Between(-50, 50), // cents
});
}// Web Audio API (ES Module) — Zero-dependency playback for harp
const ctx = new AudioContext();
let harpBuf = null;
export async function loadHarp() {
const res = await fetch('/audio/magic/harp.wav');
harpBuf = await ctx.decodeAudioData(await res.arrayBuffer());
}
export function playHarp(pitchSemitones = 0) {
if (!harpBuf) return;
if (ctx.state === 'suspended') ctx.resume();
const src = ctx.createBufferSource();
src.buffer = harpBuf;
src.loop = false;
src.playbackRate.value = Math.pow(2, pitchSemitones / 12);
src.connect(ctx.destination);
src.start();
return src;
}
// Construct 3: Import harp.wav into Project -> Sounds, then run Audio -> Play "harp" (not looping) on tag "sfx".Acoustic specs & synthesis layers
| Identifier | harp |
|---|---|
| Category | Magic |
| Playback mode | One-shot |
| Duration | 1.600 s (1600 ms) |
| Loudness (400 ms max) | -15.71 LUFS (target -16) |
| True peak / sample peak | -2.68 dBTP / -2.80 dBFS |
| Spectral centroid | 2736 Hz |
| Synthesis FX | Reverb |
| Export format | 44,100 Hz · 16-bit PCM Mono WAV |
| License | CC0 1.0 Public Domain |
| Take | Duration | Loudness | True peak | Audition |
|---|---|---|---|---|
| Take 1 | 1600 ms | -15.71 LUFS | -2.68 dBTP | |
| Take 2 | 1650 ms | -16.65 LUFS | -2.93 dBTP | |
| Take 3 | 1600 ms | -16.11 LUFS | -2.58 dBTP | |
| Take 4 | 1650 ms | -15.48 LUFS | -2.12 dBTP |
| Layer | Wave | Pitch / sweep | Env (A/H/D) | Filter | Gain |
|---|---|---|---|---|---|
| L1 | pluck | 392 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L2 | pluck | 440 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L3 | pluck | 494 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L4 | pluck | 587 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L5 | pluck | 659 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L6 | pluck | 784 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L7 | pluck | 880 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
| L8 | pluck | 988 Hz | 1/0/1100 ms | LP 4000Hz | 0.80 |
More magic sound effects
All magic SFXDark curse: low detuned drone
Enchant an item: bells in a row
Dispel: shimmer that falls away
Summon: rising chord from the deep
Homing magic bolt