SEGAN
AI game audio for Godot 4, as resources Godot loads
SEGAN is a text language for game audio. Your agent (Claude with the SEGAN skill, or any agent over MCP) writes the kits, sound effects and songs; segan build turns them into WAVs and Godot resources that drop straight into your project.
- Loop points written into each WAV's
.import: music loops by itself, sample-exact. - An AudioStreamRandomizer
.tresfor every SFX with variations: play it, get a different one each time. - An AudioStreamSynchronized
.tresper song with stems: fade layers in and out for adaptive music. - Sections, bars and markers in
manifest.json, in samples and seconds, for syncing game events;segan build --verify-godotloads and plays everything in headless Godot. - Free, MIT, offline. Your agent writes the sounds; you review them like code, and approve them by ear.
# segan.toml, next to your Godot project
output_dir = "../game/assets/generated/audio"
export = ["wav", "godot", "stems"]
# in GDScript
$Music.stream = load("res://assets/generated/audio/music/dungeon.wav")
$Music.play() # loops on its own loop points
$Coin.stream = load("res://assets/generated/audio/sfx/coin.tres")
$Coin.play() # a different variation each time