Tutorials
The RoomAcoustiC++ (RAC) Unity interface provides a set of modular C# scripts that can be used to integrate RAC into Unity projects. The audio processing is built on top of the default Unity audio system. It is available from the RoomAcoustiCpp-Unity repository.
The following section provides short tutorials covering the different aspects of the RAC Unity interface. They are designed to help you get started with using the interface and understand how they interact with the underlying RAC model.
COMING SOON: Video tutorial series.
Getting started (Recommended for first time users)
- Installation: How to add RoomAcoustiCpp-Unity to your Unity project.
- Beginner introduction: An overview of the RAC Unity interface and how to create a simple scene.
It is possible to use RAC by simply adding the premade C# scripts to the relevant GameObjects in your scene. However, if more interactivity is required, you will need to write custom scripts to control the behavior of the audio sources and listeners. For those unfamiliar with Unity the following tutorials are recommended as a starting point:
- The Unity Tutorial For Complete Beginners – Game Maker’s Toolkit
- Introduction to Game Development – Sebastian Lague
Specific tutorials
- Creating an audio listener: How to create the audio listener.
- Creating an audio source: How to create and configure audio sources.
- Creating scene geometry: How to create room geometry and configure the room acoustic properties.
- Adding material properties: How to create a new material and assign it to the room geometry.
- Configuring the image edge model: How to configure the image edge model for the room.
- Changing the RoomAcoustiC++ plugin: How to change the active RAC plugin.
- Receive debug messages and visualise the acoustic model: How to use the
DebugCppscript to aid debugging. - Custom HRTF: How to create and use a custom HRTF (Head-Related Transfer Function).