Repository navigation
Unity Install
This page gets the SFX Forge package into a Unity project and checks that it makes a sound. It takes a few minutes.
flowchart LR
A["1 Get the<br/>package folder"] --> B["2 Package Manager:<br/>Add package from disk"]
B --> C["3 Window > SFX Forge exists"]
C --> D["Create a preset,<br/>press PLAY"]
D --> E["Optional:<br/>import the Showcase sample"]
| Windows x64 | the engine is a native library, sfxforge.dll, built for Windows x64 only. On any other platform the package compiles, but nothing is synthesized (What Is Tested) |
| Unity 6000.3 | the generated package's package.json asks for 6000.3. It is developed and tested with Unity 6.3 (6000.3.8f1) only |
| No device | sounds, presets, players and baking work on their own. The device and MIDI are only for the link |
| A licence that fits | the package is under the GNU General Public License, version 3 or any later version, with an additional permission for the Unity engine itself (ADDITIONAL-PERMISSIONS.md). A game that is itself offered under the GPL, with its source, can use it at no cost; a game that is not needs another licence from the copyright holder. This is a summary, the licence text decides: FAQ, Shipping |
You add a folder from your disk. Which one depends on what you have:
| You have | The folder to add | The Package Manager then lists |
|---|---|---|
the package repository sfx-forge-unity, cloned or downloaded |
its top folder, the one with package.json in it |
"SFX Forge" |
| only this source repository | unity/com.catsplat.sfxforge |
"SFX Forge Bridge" |
At the time of writing the package repository is not published, so this page has no URL for it. If nobody gave
it to you, clone this source repository and use the second row: the code, the namespace CatSplat.SfxForge and
the native library are the same, and nothing has to be built first. What differs is in
the table further down.
- In Unity, open Window > Package Manager.
- Click + (top left), then Add package from disk...
- Pick the
package.jsonin the folder from step 1. - "SFX Forge" (or "SFX Forge Bridge") appears in the list of packages.
Or add one line to the dependencies that are already in your project's Packages/manifest.json. Put a comma after
the line before it; do not replace the file. For the source repository's folder the name is com.catsplat.sfxforge.
{
"dependencies": {
"com.catsplatstudios.sfxforge": "file:<path to the package folder>"
}
}Write the path as an absolute path, or relative to your project's Packages folder.
The manifest line is the way that was tried, in an empty project. Nobody clicked the Package Manager's buttons; the calls behind them were run from the command line (What Is Tested).
Once the package repository is public there will be a third way: + > Add package from git URL... with its URL.
There is one package in two forms. Read this only if the names confuse you, or if you work on the package itself.
| The package repository | This source repository | |
|---|---|---|
| Where | the generated repository sfx-forge-unity (written to ../unity-sfx-forge) |
the folder unity/com.catsplat.sfxforge
|
| Package id | com.catsplatstudios.sfxforge |
com.catsplat.sfxforge |
| Name in the Package Manager | "SFX Forge" | "SFX Forge Bridge" |
| Unity version in its manifest | 6000.3 |
2022.3; it is developed and tested with 6000.3.8f1 only |
| Showcase | a sample you import | already in the demo project unity/Demo
|
| Manuals | in its Documentation~ folder |
in docs/
|
The package repository is written by tools/make_unity_package.py from this
repository. Nothing in it is edited by hand. The demo project unity/Demo refers to the source folder with
file:../../com.catsplat.sfxforge.
- Look for Window > SFX Forge in the menu. If it is there, the package compiled.
- In the Project window: Assets > Create > SFX Forge > Preset. An asset named
New SFXappears. It holds a laser. - Select it. Its Inspector is drawn like the device's display. Press the soft key PLAY.
- You hear a short laser through the editor's speakers.
If PLAY and BAKE WAV are dark and the picture's place says NATIVE LIBRARY NOT FOUND, the native library
did not load: the editor is not running on Windows x64. For anything else, see
Unity Troubleshooting.
The Inspector's pictures in this wiki are rendered by the package's tests from the same elements the Inspector hosts. They are not photographs of the Unity editor. What Is Tested says what was tried.
| Your code is | What to do |
|---|---|
in Assets, with no assembly definition |
nothing. using CatSplat.SfxForge; compiles |
in its own .asmdef
|
add CatSplat.SfxForge to its references |
an editor script that uses the package's editor helpers (CatSplat.SfxForge.Editor) |
it must be in an .asmdef that references CatSplat.SfxForge.Editor. That assembly is not referenced automatically |

Brio: First Harmonic, the showcase, is a one-level 2D platformer in which every sound is SFX Forge at runtime. In the package repository it is a sample:
- Window > Package Manager, select SFX Forge, open the Samples tab.
- Next to Showcase, click Import. Unity copies it to
Assets/Samples/SFX Forge/1.0.0/Showcase. - Open
Showcase.unityin that folder and press Play. Arrows or A/D run, Space jumps, Down tucks into a roll.
| The sample needs | Why |
|---|---|
| the built-in render pipeline | it was made with it, and was not tried with another |
| Active Input Handling set to the legacy Input Manager or Both (Project Settings > Player) | it reads the Input Manager |
| the Test Framework package, only if you want its tests | without com.unity.test-framework the test assembly is left out |
In this source repository there is nothing to import: open the project unity/Demo and the scene
Assets/Showcase/Showcase.unity.
- Unity Quick Start: a sound from your own scene in five minutes
- Unity Concepts: the handful of types and how they fit
- Unity Showcase Walkthrough: what the sample does, and where
- Unity Troubleshooting: when something is silent
- The Unity manual, section 1: Five minutes
- The Unity manual, section 9: Limits
- README, Unity
- The maintainer's guide, "Regenerate the package"
- tools/make_unity_package.py (the package id, the Unity version, the sample's name)
- unity/com.catsplat.sfxforge/package.json
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