Listening to a game sound
Open Game library, pick Sounds, pick a sound and press Open it to replace it. The sound’s page has a player:- its name, its length, its channels, its rate and the codec it is kept in;
- Play (Pause while it plays), Stop, and where it is;
- Variation, when the game keeps more than one version of the sound: a chip for each. The one chosen is the one heard, saved and replaced.
Replacing a game sound
1
Open the sound
In Game library, Sounds, pick it and press Open it to replace it.
2
Choose the variation
If the sound has Variation chips, pick the one to replace. The others stay the game’s.
3
Bring your WAV
On the Sound card, press Replace with a WAV…. Dropping a
.wav on the window with the sound open does the same: choose A replacement for the sound that is open.4
Listen
Play it again in the player. A note says how it was written.
--variation all:
Codecs
Studio writes your WAV in the codec the game keeps that sound in, at the sound’s own rate, and keeps it where the game keeps it (in memory or streamed).
Studio writes these two, and PCM16. A sound kept in any other codec is refused.
The encoder ships with Studio. If it is missing from Studio’s folder, a WAV is written as PCM16, which no sound of the game uses, and the page says so. Reinstall Studio to get the encoder back.
The WAV files Studio takes
- A RIFF WAV, in PCM (8, 16, 24 or 32-bit) or float (32 or 64-bit).
- 8,000 to 192,000 samples a second.
- Mono or stereo for a mono or stereo sound: Studio mixes or copies the channels. A sound with more channels (4 or 6) needs a WAV with the same number.
- At most 240 MB of 16-bit samples once read.
Sounds of your own
A sound of your own is added under a name made from the file’s.- Drop a
.wavon the window, or use Choose a file… on the start page. - Choose A new sound.
- How it plays: Loops and Heard from a place. A sound that plays once and is heard from nowhere is refused: the game has no plain patch for it. Under the game’s patch names the game sound it takes its distances and filters from.
- Replace its WAV…, Save as WAV… and Remove.
- What it is: its length, channels, rate, codec and size in the mod.
- What the game knows it by: its Behaviour, Sound asset and Wave names, each with Copy the name.
--opus on the command line. It has one variation, and no choice by surface or speed.
Sounds on cosmetics and props
- A cosmetic keeps the sounds of the item it was made from. Studio does not give an item sounds of its own yet.
- A prop sounds like its surface: the surface chosen under its Collision sets the contact sound, among the game’s surfaces. See props.
- A map places the game’s ambiences and sound regions: see maps and the Blender add-on.
- A plugin plays its own WAV files: see audio.
On the command line
--variation counts from 1. --pcm writes PCM16 on purpose. See the command line.