Repository navigation
Unity Sound Design Tools
This page is a tour of the four tools in a sound's Inspector: NEW, VARY, LEVEL and SHARE. For each you get what it does, how to use it in three or four steps, and when you would reach for it. They make and shape sounds in the editor, without the device.
Select an SfxPreset asset (a sound; see Unity Presets And Patches). Under the keys of
its Inspector is the word TOOLS and four tabs.
flowchart TD
Q{"What do you want?"}
Q -- "a sound from nothing" --> NEW["NEW<br/>ten kinds, one click"]
Q -- "this sound, a bit different" --> VARY["VARY<br/>amount, locks, eight variants"]
Q -- "several sounds equally loud" --> LEVEL["LEVEL<br/>MATCH RMS, MATCH PEAK"]
Q -- "send a sound to a colleague" --> SHARE["SHARE<br/>62 characters, or a .syx file"]
VARY -- "MAKE SET" --> SET["a variation set"]
Three things hold for all four:
- Every change a tool makes to a sound is one Undo step. The UNDO key of the Inspector takes it back, and so does Unity's own Undo (Ctrl+Z). MAKE SET is the exception: it makes a new file and is not an Undo step.
- Each tab has a note under its keys. It says what the tool did last, or why it did nothing.
- The pictures on this page are the panels rendered by their tests, not photographs of the editor. Nobody has listened to what the tools make: see What Is Tested.

Tab NEW after a click on ZAP. The note under the ten keys names the kind and the seed.
What it does. A click replaces the sound with a new one of that kind. Every click gives another.
| Key | The recipes aim at | Key | The recipes aim at |
|---|---|---|---|
| CLICK | the shortest sound | THUD | short and low |
| CHIME | a bright step up, or a small bell | BLAST | low noise that takes its time |
| LEAP | a short rise, one note | DOOR | a creak, or it shuts |
| RISE | a long rise | ALARM | held, and its pitch swings |
| ZAP | a fast fall | HUM | held, low, slowly alive |
- Select a preset and open TOOLS > NEW.
- Click a kind. The picture and the level line change, and the note names the kind and its seed. PLAY plays it.
- Not it? Click again. Too far? UNDO.
When would I use it? At the start: you need a pickup sound and have nothing. Click CHIME until one is close, then move on to VARY. With several presets selected, each gets its own new sound.
Good to know. ALARM and HUM make held sounds, the other eight one-shots. The seed in the note gives the same
sound again only while the recipes stay as they are: keep a sound you like as a preset or as its text (SHARE), not
as a seed. In code: SfxGenerator.Make(SfxCategory.Zap, 0xCF56CEED).

Tab VARY after MORE LIKE THIS, with FREQ locked: the key LOCK FREQ is lit and the FREQ tile above has an outline and a star. Each variant's caption names the value that moved most from the base.
What it does. It steers the MUTATE key, and shows eight variants of the sound to choose from.
| Part | What it does |
|---|---|
| AMOUNT | how far a value may move, 1 to 100 %. 15 % at first |
| LOCK value | one key for each value of the page shown (on OSC the first reads ENGINE STAYS: the engine never changes). A lit key: MUTATE and the variants leave that value alone |
| LOCK PAGE · UNLOCK ALL | locks the values of the page shown, or unlocks them when all are locked · unlocks everything, on every page |
| MORE LIKE THIS | takes the sound as it is now as the base and shows eight variants |
| AGAIN | eight other variants of the same base |
| PLAY · KEEP on a tile | hear that variant · the sound becomes that variant |
| BACK TO BASE | the sound becomes the base again |
| MAKE SET | makes a variation set next to the preset, named <preset> Variations, with this amount and these locks. With tiles shown it holds 9 variants: the sound and the eight tiles. Without: 6 |
- Get the sound roughly right. Lock what must stay: open the page with that value and click its LOCK key.
- Click MORE LIKE THIS. Eight tiles appear.
- PLAY tiles. KEEP the one you like. The tiles stay, so you can still try another: all eight are variants of the base, not of each other.
- Want to go further from there? Click MORE LIKE THIS again: the kept sound is the new base.
When would I use it? The laser is right but dull: lock FREQ so it stays in tune, and look for a better envelope among the variants. Or you need six footsteps that belong together: MAKE SET, then see Unity Variations.
Good to know. AMOUNT and the locks belong to the editor session, not to the asset: they hold for every preset
until the editor closes. The engine, LEVEL and TABLE never move; a one-shot stays a one-shot and a held sound stays
held. MORE LIKE THIS works on one sound; with several selected only MUTATE does. The new set is not baked yet: see
Unity Baking And WAV. In code:
SfxMutate.Variant(basePatch, seed, index, percent, locked); index 0 is the base itself.

Three sounds selected, after MATCH RMS. The line under the picture gives the range of the three; the note says which LEVEL each got.
What it does. Two things. The level line under every sound's picture reads its loudness. MATCH RMS and MATCH PEAK bring several selected sounds to the same reading.
| The level line reads | |
|---|---|
PEAK -5.0dB RMS -17.9dB |
the largest sample, and the RMS of the sound's body, in dB below full scale |
CLIPS PEAK +1.3dB … in orange |
the sound goes over full scale; a baked file of it is clamped |
SILENT |
nothing above −120 dB comes out |
3 SOUNDS PEAK -8.9 .. -3.8dB … |
several selected: the quietest to the loudest |
NO LEVEL |
no native library here, or the engine did not render the sound |
RMS (root mean square) is an average level; peak is the single largest sample.
- Select 2 to 32 presets in the Project window.
- Open TOOLS > LEVEL and click MATCH RMS (or MATCH PEAK).
- Read the note:
3 SOUNDS AT RMS -18.7dB, and under it each sound's LEVEL before and after (Jump 90 > 95). One UNDO takes it all back. A silent sound is left as it is, and the note names it.
When would I use it? Before you bake a batch of UI sounds, so none jumps out. Or when the level line shows CLIPS: lower LEVEL on the FX page until it does not.
Good to know. MATCH writes each sound's LEVEL (FX page) and nothing else. It measures; it does not hear: a bright and a dull sound at the same RMS do not seem equally loud, so match first, then listen. It says nothing about the game's mix, where sounds add up.

Tab SHARE: the field with the sound's text, and the four keys.
What it does. A sound is 28 bytes. As text it is SFXF1: and those bytes as hex, 62 characters. The default
laser is:
SFXF1:0202466E2D32460078143A0000002240283200000000000000640043
| Key | |
|---|---|
| the field | the sound's text. Type or paste another sound's text and press Enter: the sound becomes that one |
| COPY | the text to the clipboard |
| PASTE | the sound becomes the one whose text is on the clipboard. With several selected, all of them do |
| EXPORT .SYX | writes a 35-byte .syx file: the MIDI message that loads the sound into the chosen pad of the device (the number at the top left). One sound only |
| IMPORT .SYX | the sound becomes the first patch found in a .syx file: one this exports, or the device's EXPORT |
- To send a sound: TOOLS > SHARE, COPY, paste it into a chat, a commit message or a code comment.
- To take one: copy the text (the sentence around it may come along), select a preset, PASTE.
- A text that is refused changes nothing, and the note says why: for example
damaged: the checksum does not fit.
When would I use it? A colleague without the device asks for "that coin sound". Or you want a sound in version control as one readable line. Or you want it on a device that is not linked to Unity: EXPORT .SYX and send the file with any SysEx tool (that path was never tried against a device).
Good to know. The text is the patch only: not the asset's name, not HOLD, not a song. PASTE reads through
spaces, line breaks and quotes, and takes hex digits in lower case. In code: SfxPatchText.ToText(patch) and
SfxPatchText.Parse(text, out SfxPatch patch), which returns an SfxTextResult; SfxPatchText.Message(result)
is the note's text.
What the keys are built on is in the runtime assembly, in classes that use nothing of Unity:
using CatSplat.SfxForge;
using UnityEngine;
public class ToolsFromCode : MonoBehaviour
{
void Start()
{
SfxPatch zap = SfxGenerator.Make(SfxCategory.Zap, 0xCF56CEED); // NEW
uint keep = SfxMutate.Bit(SfxParam.BaseFreq); // a lock
SfxPatch other = SfxMutate.Variant(zap, 1234, 1, 15, keep); // VARY: variant 1 at 15 %
Debug.Log(SfxPatchText.ToText(other)); // SHARE
}
}- Unity Variations: what MAKE SET gives you, and how to play it.
-
Unity Baking And WAV: turn the sounds into
.wavfiles. - Unity Presets And Patches: every value of a sound.
SFX FORGE, firmware 1.7.2 · Home · Glossary · What Is Tested · the pages are kept in the repository's wiki/ folder: Editing This Wiki
Start
Device
- Quick Start
- Controls And Pages
- Make A Sound
- The Five Engines
- Make A Beat
- Recording
- Finer Grids
- Time Signatures
- Perform
- Song And Arrangement
- Layers And Intensity
- Automation
- Mixer And Effects
- The Stage
- Saving And Reset
- Cheat Sheet
Unity: first steps
- Install
- Quick Start
- Concepts
- Choosing A Route
- One Shots
- Live Voices
- Held Sounds
- Variations
- Presets And Patches
Unity: music
Unity: link and tools
Unity: in practice
- Recipes
- Recipes: Music
- Recipes: Link
- Showcase Walkthrough
- Copy The Showcase Pattern
- Troubleshooting
- Testing Your Audio
Unity: reference and extending
Internals
- Architecture Overview
- Repository Map
- Sound Engine
- Patch Format
- Song Format
- Link Protocol
- Firmware Internals
- Add A Page Or Key
- Add An Engine
- Add A Setting
- Building From Source
- Running The Tests
- Release Checklist
About this wiki