A game sound effect generator for effects, music, voice and retro bleeps
A jump without a sound feels like a bug. The asset CLI has four sound verbs: asset sfx for an effect from words, asset music for a track, asset voice for a spoken line, and asset synth for retro sounds made by code, free. Each writes one file named after what you asked, so door becomes door.mp3, and prints a JSON line naming it, which a coding agent reads as easily as you do.
npm install -g @tyrbo/assetMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.
The commands
asset sfx door "a heavy wooden door creaks open" --seconds 2
asset sfx rain "soft rain on a tin roof" --seconds 10 --loop
asset music theme "calm folk adventure, slow tempo, fiddle and harp"
asset voice greet "Welcome back, traveller."
asset synth coin pickup --seed 7Effects from words: asset sfx
Describe the sound as you would to a foley artist: the thing, what happens to it, where. "A heavy wooden door creaks open", "a sword pulled from a leather scabbard", "a slime squelches onto stone". --seconds sets its length, from half a second to 30, one second by default. --loop asks for a looping sound, for rain, wind, a crowd or an engine's hum. The file is <name>.mp3.
Short and specific asks work well: one event per sound, one sound per call, so each lands as its own file you can trigger on its own.
Music and voice
asset music takes the mood, genre, tempo and instruments in its words and writes a 30 second <name>.mp3: "tense dungeon ambience, low drones", "upbeat chiptune adventure", "calm folk, fiddle and harp". Ask one per place in your game, a menu, a village, a boss.
asset voice speaks the exact line you give it, word for word, into <name>.mp3, for a shopkeeper's greeting, a tutorial prompt or an announcer's "Round two!". --voice picks a voice by its id, so a character keeps one voice across all its lines.
Retro sounds by code: asset synth
asset synth <name> <preset> makes a sound in code, with no model call and no charge, as <name>.wav. Its presets cover what an arcade game asks most often:
pickup,blipandwinfor rewards and menus;jump,stepandshootfor moving and acting;hit,explosionandlosefor damage and endings.
--seed picks another variant of the same preset, so two coins in one game can differ. It suits a pixel art game, and it is a quick way to give a prototype every sound before any paid call.
Where the files go
Every sound lands in ./public/assets/, or wherever TYRBO_ASSET_OUT points, named after what you asked. Each paid call is quoted before it runs and refused when your credits cannot cover it; a sound asked before comes back from your account's cache for free. --mock runs any of these offline with no key, so you can wire the file names into your game first and ask for the real sounds after. Prices for each verb are on the pricing page.
Questions people ask
Is any of it free?
Yes. asset synth is always free, a sound asked again is answered from your cache, and --mock runs every verb offline at no cost.
Are sounds made in my game’s look?
No. The look is a picture and guides pictures. A sound follows its own words, so say the material, the action and the mood in each ask.
How long can one sound effect be?
From half a second to 30 seconds with --seconds, one second when you leave it out. A music track is always 30 seconds.
Install it, then ask for the look.
Get an asset keyMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.