Skip to content

Build an In-Game Soundboard

/sim/audio lets ordinary Linux userland play through KSA’s FMOD mixer. Upload a clip, name the channel, then change it while it is playing.

Terminal window
cat launch.ogg > /sim/audio/file/launch.ogg
echo 'launch.ogg id=launch vol=0.7 group=sfx' > /sim/audio/play
Terminal window
echo 'launch vol=0.25 pitch=0.9' > /sim/audio/set
cat /sim/audio/status
echo launch > /sim/audio/stop

Use loop=1 for music, start= and end= for a range in milliseconds, and pan= for placement. group=sfx|music|ui chooses which KSA volume slider governs the channel.

The the90s example turns this into a proper terminal soundboard, naturally styled like software recovered from a mall kiosk.